114 lines
2.7 KiB
Go
114 lines
2.7 KiB
Go
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
func (in *NamespacedSecretReference) DeepCopyInto(out *NamespacedSecretReference) { *out = *in }
|
|
func (in *NamespacedSecretReference) DeepCopy() *NamespacedSecretReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NamespacedSecretReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
func (in *TLSConfig) DeepCopyInto(out *TLSConfig) {
|
|
*out = *in
|
|
if in.CASecretRef != nil {
|
|
out.CASecretRef = in.CASecretRef.DeepCopy()
|
|
}
|
|
}
|
|
func (in *TLSConfig) DeepCopy() *TLSConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
func (in *MikroTikRouterSpec) DeepCopyInto(out *MikroTikRouterSpec) {
|
|
*out = *in
|
|
in.TLS.DeepCopyInto(&out.TLS)
|
|
if in.AllowedNamespaces != nil {
|
|
out.AllowedNamespaces = append([]string(nil), in.AllowedNamespaces...)
|
|
}
|
|
}
|
|
func (in *MikroTikRouterSpec) DeepCopy() *MikroTikRouterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MikroTikRouterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
func (in *MikroTikRouterStatus) DeepCopyInto(out *MikroTikRouterStatus) {
|
|
*out = *in
|
|
if in.LastSyncTime != nil {
|
|
out.LastSyncTime = in.LastSyncTime.DeepCopy()
|
|
}
|
|
if in.Conditions != nil {
|
|
out.Conditions = make([]metav1.Condition, len(in.Conditions))
|
|
for i := range in.Conditions {
|
|
in.Conditions[i].DeepCopyInto(&out.Conditions[i])
|
|
}
|
|
}
|
|
}
|
|
func (in *MikroTikRouterStatus) DeepCopy() *MikroTikRouterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MikroTikRouterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
func (in *MikroTikRouter) DeepCopyInto(out *MikroTikRouter) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
func (in *MikroTikRouter) DeepCopy() *MikroTikRouter {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MikroTikRouter)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
func (in *MikroTikRouter) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
func (in *MikroTikRouterList) DeepCopyInto(out *MikroTikRouterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
out.Items = make([]MikroTikRouter, len(in.Items))
|
|
for i := range in.Items {
|
|
in.Items[i].DeepCopyInto(&out.Items[i])
|
|
}
|
|
}
|
|
}
|
|
func (in *MikroTikRouterList) DeepCopy() *MikroTikRouterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MikroTikRouterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
func (in *MikroTikRouterList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|