278 lines
		
	
	
		
			7.4 KiB
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			278 lines
		
	
	
		
			7.4 KiB
		
	
	
	
		
			Go
		
	
	
	
| //go:build !ignore_autogenerated
 | |
| // +build !ignore_autogenerated
 | |
| 
 | |
| // Code generated by deepcopy-gen. DO NOT EDIT.
 | |
| 
 | |
| package cluster
 | |
| 
 | |
| import (
 | |
| 	v1 "k8s.io/api/core/v1"
 | |
| 	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | |
| 	runtime "k8s.io/apimachinery/pkg/runtime"
 | |
| )
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *APIEnablement) DeepCopyInto(out *APIEnablement) {
 | |
| 	*out = *in
 | |
| 	if in.Resources != nil {
 | |
| 		in, out := &in.Resources, &out.Resources
 | |
| 		*out = make([]APIResource, len(*in))
 | |
| 		copy(*out, *in)
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEnablement.
 | |
| func (in *APIEnablement) DeepCopy() *APIEnablement {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(APIEnablement)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *APIResource) DeepCopyInto(out *APIResource) {
 | |
| 	*out = *in
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResource.
 | |
| func (in *APIResource) DeepCopy() *APIResource {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(APIResource)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *Cluster) DeepCopyInto(out *Cluster) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
 | |
| 	in.Spec.DeepCopyInto(&out.Spec)
 | |
| 	in.Status.DeepCopyInto(&out.Status)
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
 | |
| func (in *Cluster) DeepCopy() *Cluster {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(Cluster)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *Cluster) DeepCopyObject() runtime.Object {
 | |
| 	if c := in.DeepCopy(); c != nil {
 | |
| 		return c
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *ClusterList) DeepCopyInto(out *ClusterList) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	in.ListMeta.DeepCopyInto(&out.ListMeta)
 | |
| 	if in.Items != nil {
 | |
| 		in, out := &in.Items, &out.Items
 | |
| 		*out = make([]Cluster, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
 | |
| func (in *ClusterList) DeepCopy() *ClusterList {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(ClusterList)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *ClusterList) DeepCopyObject() runtime.Object {
 | |
| 	if c := in.DeepCopy(); c != nil {
 | |
| 		return c
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *ClusterProxyOptions) DeepCopyInto(out *ClusterProxyOptions) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProxyOptions.
 | |
| func (in *ClusterProxyOptions) DeepCopy() *ClusterProxyOptions {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(ClusterProxyOptions)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *ClusterProxyOptions) DeepCopyObject() runtime.Object {
 | |
| 	if c := in.DeepCopy(); c != nil {
 | |
| 		return c
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
 | |
| 	*out = *in
 | |
| 	if in.SecretRef != nil {
 | |
| 		in, out := &in.SecretRef, &out.SecretRef
 | |
| 		*out = new(LocalSecretReference)
 | |
| 		**out = **in
 | |
| 	}
 | |
| 	if in.ImpersonatorSecretRef != nil {
 | |
| 		in, out := &in.ImpersonatorSecretRef, &out.ImpersonatorSecretRef
 | |
| 		*out = new(LocalSecretReference)
 | |
| 		**out = **in
 | |
| 	}
 | |
| 	if in.Taints != nil {
 | |
| 		in, out := &in.Taints, &out.Taints
 | |
| 		*out = make([]v1.Taint, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
 | |
| func (in *ClusterSpec) DeepCopy() *ClusterSpec {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(ClusterSpec)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
 | |
| 	*out = *in
 | |
| 	if in.APIEnablements != nil {
 | |
| 		in, out := &in.APIEnablements, &out.APIEnablements
 | |
| 		*out = make([]APIEnablement, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	if in.Conditions != nil {
 | |
| 		in, out := &in.Conditions, &out.Conditions
 | |
| 		*out = make([]metav1.Condition, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	if in.NodeSummary != nil {
 | |
| 		in, out := &in.NodeSummary, &out.NodeSummary
 | |
| 		*out = new(NodeSummary)
 | |
| 		**out = **in
 | |
| 	}
 | |
| 	if in.ResourceSummary != nil {
 | |
| 		in, out := &in.ResourceSummary, &out.ResourceSummary
 | |
| 		*out = new(ResourceSummary)
 | |
| 		(*in).DeepCopyInto(*out)
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
 | |
| func (in *ClusterStatus) DeepCopy() *ClusterStatus {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(ClusterStatus)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *LocalSecretReference) DeepCopyInto(out *LocalSecretReference) {
 | |
| 	*out = *in
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSecretReference.
 | |
| func (in *LocalSecretReference) DeepCopy() *LocalSecretReference {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(LocalSecretReference)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *NodeSummary) DeepCopyInto(out *NodeSummary) {
 | |
| 	*out = *in
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSummary.
 | |
| func (in *NodeSummary) DeepCopy() *NodeSummary {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(NodeSummary)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *ResourceSummary) DeepCopyInto(out *ResourceSummary) {
 | |
| 	*out = *in
 | |
| 	if in.Allocatable != nil {
 | |
| 		in, out := &in.Allocatable, &out.Allocatable
 | |
| 		*out = make(v1.ResourceList, len(*in))
 | |
| 		for key, val := range *in {
 | |
| 			(*out)[key] = val.DeepCopy()
 | |
| 		}
 | |
| 	}
 | |
| 	if in.Allocating != nil {
 | |
| 		in, out := &in.Allocating, &out.Allocating
 | |
| 		*out = make(v1.ResourceList, len(*in))
 | |
| 		for key, val := range *in {
 | |
| 			(*out)[key] = val.DeepCopy()
 | |
| 		}
 | |
| 	}
 | |
| 	if in.Allocated != nil {
 | |
| 		in, out := &in.Allocated, &out.Allocated
 | |
| 		*out = make(v1.ResourceList, len(*in))
 | |
| 		for key, val := range *in {
 | |
| 			(*out)[key] = val.DeepCopy()
 | |
| 		}
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSummary.
 | |
| func (in *ResourceSummary) DeepCopy() *ResourceSummary {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(ResourceSummary)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 |