//go:build !ignore_autogenerated // Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 // Code generated by controller-gen. DO NOT EDIT. package v1beta2 import ( "github.com/projectcapsule/capsule/pkg/api" corev1 "k8s.io/api/core/v1" "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AdditionalRoleBindingsSpec) DeepCopyInto(out *AdditionalRoleBindingsSpec) { *out = *in if in.Subjects != nil { in, out := &in.Subjects, &out.Subjects *out = make([]v1.Subject, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalRoleBindingsSpec. func (in *AdditionalRoleBindingsSpec) DeepCopy() *AdditionalRoleBindingsSpec { if in == nil { return nil } out := new(AdditionalRoleBindingsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in ByKindAndName) DeepCopyInto(out *ByKindAndName) { { in := &in *out = make(ByKindAndName, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ByKindAndName. func (in ByKindAndName) DeepCopy() ByKindAndName { if in == nil { return nil } out := new(ByKindAndName) in.DeepCopyInto(out) return *out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CapsuleConfiguration) DeepCopyInto(out *CapsuleConfiguration) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapsuleConfiguration. func (in *CapsuleConfiguration) DeepCopy() *CapsuleConfiguration { if in == nil { return nil } out := new(CapsuleConfiguration) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *CapsuleConfiguration) 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 *CapsuleConfigurationList) DeepCopyInto(out *CapsuleConfigurationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]CapsuleConfiguration, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapsuleConfigurationList. func (in *CapsuleConfigurationList) DeepCopy() *CapsuleConfigurationList { if in == nil { return nil } out := new(CapsuleConfigurationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *CapsuleConfigurationList) 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 *CapsuleConfigurationSpec) DeepCopyInto(out *CapsuleConfigurationSpec) { *out = *in if in.UserGroups != nil { in, out := &in.UserGroups, &out.UserGroups *out = make([]string, len(*in)) copy(*out, *in) } out.CapsuleResources = in.CapsuleResources if in.NodeMetadata != nil { in, out := &in.NodeMetadata, &out.NodeMetadata *out = new(NodeMetadata) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapsuleConfigurationSpec. func (in *CapsuleConfigurationSpec) DeepCopy() *CapsuleConfigurationSpec { if in == nil { return nil } out := new(CapsuleConfigurationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CapsuleResources) DeepCopyInto(out *CapsuleResources) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapsuleResources. func (in *CapsuleResources) DeepCopy() *CapsuleResources { if in == nil { return nil } out := new(CapsuleResources) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GatewayOptions) DeepCopyInto(out *GatewayOptions) { *out = *in if in.AllowedClasses != nil { in, out := &in.AllowedClasses, &out.AllowedClasses *out = new(api.SelectionListWithDefaultSpec) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayOptions. func (in *GatewayOptions) DeepCopy() *GatewayOptions { if in == nil { return nil } out := new(GatewayOptions) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GlobalTenantResource) DeepCopyInto(out *GlobalTenantResource) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalTenantResource. func (in *GlobalTenantResource) DeepCopy() *GlobalTenantResource { if in == nil { return nil } out := new(GlobalTenantResource) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *GlobalTenantResource) 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 *GlobalTenantResourceList) DeepCopyInto(out *GlobalTenantResourceList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]GlobalTenantResource, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalTenantResourceList. func (in *GlobalTenantResourceList) DeepCopy() *GlobalTenantResourceList { if in == nil { return nil } out := new(GlobalTenantResourceList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *GlobalTenantResourceList) 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 *GlobalTenantResourceSpec) DeepCopyInto(out *GlobalTenantResourceSpec) { *out = *in in.TenantSelector.DeepCopyInto(&out.TenantSelector) in.TenantResourceSpec.DeepCopyInto(&out.TenantResourceSpec) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalTenantResourceSpec. func (in *GlobalTenantResourceSpec) DeepCopy() *GlobalTenantResourceSpec { if in == nil { return nil } out := new(GlobalTenantResourceSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GlobalTenantResourceStatus) DeepCopyInto(out *GlobalTenantResourceStatus) { *out = *in if in.SelectedTenants != nil { in, out := &in.SelectedTenants, &out.SelectedTenants *out = make([]string, len(*in)) copy(*out, *in) } if in.ProcessedItems != nil { in, out := &in.ProcessedItems, &out.ProcessedItems *out = make(ProcessedItems, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalTenantResourceStatus. func (in *GlobalTenantResourceStatus) DeepCopy() *GlobalTenantResourceStatus { if in == nil { return nil } out := new(GlobalTenantResourceStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *IngressOptions) DeepCopyInto(out *IngressOptions) { *out = *in if in.AllowedClasses != nil { in, out := &in.AllowedClasses, &out.AllowedClasses *out = new(api.DefaultAllowedListSpec) (*in).DeepCopyInto(*out) } if in.AllowedHostnames != nil { in, out := &in.AllowedHostnames, &out.AllowedHostnames *out = new(api.AllowedListSpec) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressOptions. func (in *IngressOptions) DeepCopy() *IngressOptions { if in == nil { return nil } out := new(IngressOptions) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NamespaceOptions) DeepCopyInto(out *NamespaceOptions) { *out = *in if in.Quota != nil { in, out := &in.Quota, &out.Quota *out = new(int32) **out = **in } if in.AdditionalMetadata != nil { in, out := &in.AdditionalMetadata, &out.AdditionalMetadata *out = new(api.AdditionalMetadataSpec) (*in).DeepCopyInto(*out) } if in.AdditionalMetadataList != nil { in, out := &in.AdditionalMetadataList, &out.AdditionalMetadataList *out = make([]api.AdditionalMetadataSelectorSpec, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } in.ForbiddenLabels.DeepCopyInto(&out.ForbiddenLabels) in.ForbiddenAnnotations.DeepCopyInto(&out.ForbiddenAnnotations) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceOptions. func (in *NamespaceOptions) DeepCopy() *NamespaceOptions { if in == nil { return nil } out := new(NamespaceOptions) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NodeMetadata) DeepCopyInto(out *NodeMetadata) { *out = *in in.ForbiddenLabels.DeepCopyInto(&out.ForbiddenLabels) in.ForbiddenAnnotations.DeepCopyInto(&out.ForbiddenAnnotations) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetadata. func (in *NodeMetadata) DeepCopy() *NodeMetadata { if in == nil { return nil } out := new(NodeMetadata) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NonLimitedResourceError) DeepCopyInto(out *NonLimitedResourceError) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonLimitedResourceError. func (in *NonLimitedResourceError) DeepCopy() *NonLimitedResourceError { if in == nil { return nil } out := new(NonLimitedResourceError) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { *out = *in out.ObjectReferenceAbstract = in.ObjectReferenceAbstract in.Selector.DeepCopyInto(&out.Selector) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. func (in *ObjectReference) DeepCopy() *ObjectReference { if in == nil { return nil } out := new(ObjectReference) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ObjectReferenceAbstract) DeepCopyInto(out *ObjectReferenceAbstract) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReferenceAbstract. func (in *ObjectReferenceAbstract) DeepCopy() *ObjectReferenceAbstract { if in == nil { return nil } out := new(ObjectReferenceAbstract) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ObjectReferenceStatus) DeepCopyInto(out *ObjectReferenceStatus) { *out = *in out.ObjectReferenceAbstract = in.ObjectReferenceAbstract } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReferenceStatus. func (in *ObjectReferenceStatus) DeepCopy() *ObjectReferenceStatus { if in == nil { return nil } out := new(ObjectReferenceStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in OwnerListSpec) DeepCopyInto(out *OwnerListSpec) { { in := &in *out = make(OwnerListSpec, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnerListSpec. func (in OwnerListSpec) DeepCopy() OwnerListSpec { if in == nil { return nil } out := new(OwnerListSpec) in.DeepCopyInto(out) return *out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OwnerSpec) DeepCopyInto(out *OwnerSpec) { *out = *in if in.ClusterRoles != nil { in, out := &in.ClusterRoles, &out.ClusterRoles *out = make([]string, len(*in)) copy(*out, *in) } if in.ProxyOperations != nil { in, out := &in.ProxyOperations, &out.ProxyOperations *out = make([]ProxySettings, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnerSpec. func (in *OwnerSpec) DeepCopy() *OwnerSpec { if in == nil { return nil } out := new(OwnerSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in ProcessedItems) DeepCopyInto(out *ProcessedItems) { { in := &in *out = make(ProcessedItems, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessedItems. func (in ProcessedItems) DeepCopy() ProcessedItems { if in == nil { return nil } out := new(ProcessedItems) in.DeepCopyInto(out) return *out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ProxySettings) DeepCopyInto(out *ProxySettings) { *out = *in if in.Operations != nil { in, out := &in.Operations, &out.Operations *out = make([]ProxyOperation, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySettings. func (in *ProxySettings) DeepCopy() *ProxySettings { if in == nil { return nil } out := new(ProxySettings) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RawExtension) DeepCopyInto(out *RawExtension) { *out = *in in.RawExtension.DeepCopyInto(&out.RawExtension) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension. func (in *RawExtension) DeepCopy() *RawExtension { if in == nil { return nil } out := new(RawExtension) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourcePool) DeepCopyInto(out *ResourcePool) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePool. func (in *ResourcePool) DeepCopy() *ResourcePool { if in == nil { return nil } out := new(ResourcePool) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ResourcePool) 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 *ResourcePoolClaim) DeepCopyInto(out *ResourcePoolClaim) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaim. func (in *ResourcePoolClaim) DeepCopy() *ResourcePoolClaim { if in == nil { return nil } out := new(ResourcePoolClaim) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ResourcePoolClaim) 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 *ResourcePoolClaimList) DeepCopyInto(out *ResourcePoolClaimList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ResourcePoolClaim, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaimList. func (in *ResourcePoolClaimList) DeepCopy() *ResourcePoolClaimList { if in == nil { return nil } out := new(ResourcePoolClaimList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ResourcePoolClaimList) 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 *ResourcePoolClaimSpec) DeepCopyInto(out *ResourcePoolClaimSpec) { *out = *in if in.ResourceClaims != nil { in, out := &in.ResourceClaims, &out.ResourceClaims *out = make(corev1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaimSpec. func (in *ResourcePoolClaimSpec) DeepCopy() *ResourcePoolClaimSpec { if in == nil { return nil } out := new(ResourcePoolClaimSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourcePoolClaimStatus) DeepCopyInto(out *ResourcePoolClaimStatus) { *out = *in out.Pool = in.Pool in.Condition.DeepCopyInto(&out.Condition) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaimStatus. func (in *ResourcePoolClaimStatus) DeepCopy() *ResourcePoolClaimStatus { if in == nil { return nil } out := new(ResourcePoolClaimStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourcePoolClaimsItem) DeepCopyInto(out *ResourcePoolClaimsItem) { *out = *in out.StatusNameUID = in.StatusNameUID if in.Claims != nil { in, out := &in.Claims, &out.Claims *out = make(corev1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaimsItem. func (in *ResourcePoolClaimsItem) DeepCopy() *ResourcePoolClaimsItem { if in == nil { return nil } out := new(ResourcePoolClaimsItem) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in ResourcePoolClaimsList) DeepCopyInto(out *ResourcePoolClaimsList) { { in := &in *out = make(ResourcePoolClaimsList, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(ResourcePoolClaimsItem) (*in).DeepCopyInto(*out) } } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaimsList. func (in ResourcePoolClaimsList) DeepCopy() ResourcePoolClaimsList { if in == nil { return nil } out := new(ResourcePoolClaimsList) in.DeepCopyInto(out) return *out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourcePoolList) DeepCopyInto(out *ResourcePoolList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ResourcePool, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolList. func (in *ResourcePoolList) DeepCopy() *ResourcePoolList { if in == nil { return nil } out := new(ResourcePoolList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ResourcePoolList) 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 ResourcePoolNamespaceClaimsStatus) DeepCopyInto(out *ResourcePoolNamespaceClaimsStatus) { { in := &in *out = make(ResourcePoolNamespaceClaimsStatus, len(*in)) for key, val := range *in { var outVal []*ResourcePoolClaimsItem if val == nil { (*out)[key] = nil } else { inVal := (*in)[key] in, out := &inVal, &outVal *out = make(ResourcePoolClaimsList, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(ResourcePoolClaimsItem) (*in).DeepCopyInto(*out) } } } (*out)[key] = outVal } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolNamespaceClaimsStatus. func (in ResourcePoolNamespaceClaimsStatus) DeepCopy() ResourcePoolNamespaceClaimsStatus { if in == nil { return nil } out := new(ResourcePoolNamespaceClaimsStatus) in.DeepCopyInto(out) return *out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourcePoolQuotaStatus) DeepCopyInto(out *ResourcePoolQuotaStatus) { *out = *in if in.Hard != nil { in, out := &in.Hard, &out.Hard *out = make(corev1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Claimed != nil { in, out := &in.Claimed, &out.Claimed *out = make(corev1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Available != nil { in, out := &in.Available, &out.Available *out = make(corev1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolQuotaStatus. func (in *ResourcePoolQuotaStatus) DeepCopy() *ResourcePoolQuotaStatus { if in == nil { return nil } out := new(ResourcePoolQuotaStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourcePoolSpec) DeepCopyInto(out *ResourcePoolSpec) { *out = *in if in.Selectors != nil { in, out := &in.Selectors, &out.Selectors *out = make([]api.NamespaceSelector, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } in.Quota.DeepCopyInto(&out.Quota) if in.Defaults != nil { in, out := &in.Defaults, &out.Defaults *out = make(corev1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } in.Config.DeepCopyInto(&out.Config) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolSpec. func (in *ResourcePoolSpec) DeepCopy() *ResourcePoolSpec { if in == nil { return nil } out := new(ResourcePoolSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourcePoolSpecConfiguration) DeepCopyInto(out *ResourcePoolSpecConfiguration) { *out = *in if in.DefaultsAssignZero != nil { in, out := &in.DefaultsAssignZero, &out.DefaultsAssignZero *out = new(bool) **out = **in } if in.OrderedQueue != nil { in, out := &in.OrderedQueue, &out.OrderedQueue *out = new(bool) **out = **in } if in.DeleteBoundResources != nil { in, out := &in.DeleteBoundResources, &out.DeleteBoundResources *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolSpecConfiguration. func (in *ResourcePoolSpecConfiguration) DeepCopy() *ResourcePoolSpecConfiguration { if in == nil { return nil } out := new(ResourcePoolSpecConfiguration) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourcePoolStatus) DeepCopyInto(out *ResourcePoolStatus) { *out = *in if in.Namespaces != nil { in, out := &in.Namespaces, &out.Namespaces *out = make([]string, len(*in)) copy(*out, *in) } if in.Claims != nil { in, out := &in.Claims, &out.Claims *out = make(ResourcePoolNamespaceClaimsStatus, len(*in)) for key, val := range *in { var outVal []*ResourcePoolClaimsItem if val == nil { (*out)[key] = nil } else { inVal := (*in)[key] in, out := &inVal, &outVal *out = make(ResourcePoolClaimsList, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(ResourcePoolClaimsItem) (*in).DeepCopyInto(*out) } } } (*out)[key] = outVal } } in.Allocation.DeepCopyInto(&out.Allocation) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolStatus. func (in *ResourcePoolStatus) DeepCopy() *ResourcePoolStatus { if in == nil { return nil } out := new(ResourcePoolStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) { *out = *in if in.NamespaceSelector != nil { in, out := &in.NamespaceSelector, &out.NamespaceSelector *out = new(metav1.LabelSelector) (*in).DeepCopyInto(*out) } if in.NamespacedItems != nil { in, out := &in.NamespacedItems, &out.NamespacedItems *out = make([]ObjectReference, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.RawItems != nil { in, out := &in.RawItems, &out.RawItems *out = make([]RawExtension, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.AdditionalMetadata != nil { in, out := &in.AdditionalMetadata, &out.AdditionalMetadata *out = new(api.AdditionalMetadataSpec) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec. func (in *ResourceSpec) DeepCopy() *ResourceSpec { if in == nil { return nil } out := new(ResourceSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Tenant) DeepCopyInto(out *Tenant) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tenant. func (in *Tenant) DeepCopy() *Tenant { if in == nil { return nil } out := new(Tenant) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Tenant) 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 *TenantList) DeepCopyInto(out *TenantList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Tenant, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantList. func (in *TenantList) DeepCopy() *TenantList { if in == nil { return nil } out := new(TenantList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *TenantList) 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 *TenantResource) DeepCopyInto(out *TenantResource) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResource. func (in *TenantResource) DeepCopy() *TenantResource { if in == nil { return nil } out := new(TenantResource) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *TenantResource) 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 *TenantResourceList) DeepCopyInto(out *TenantResourceList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]TenantResource, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResourceList. func (in *TenantResourceList) DeepCopy() *TenantResourceList { if in == nil { return nil } out := new(TenantResourceList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *TenantResourceList) 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 *TenantResourceSpec) DeepCopyInto(out *TenantResourceSpec) { *out = *in out.ResyncPeriod = in.ResyncPeriod if in.PruningOnDelete != nil { in, out := &in.PruningOnDelete, &out.PruningOnDelete *out = new(bool) **out = **in } if in.Resources != nil { in, out := &in.Resources, &out.Resources *out = make([]ResourceSpec, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResourceSpec. func (in *TenantResourceSpec) DeepCopy() *TenantResourceSpec { if in == nil { return nil } out := new(TenantResourceSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TenantResourceStatus) DeepCopyInto(out *TenantResourceStatus) { *out = *in if in.ProcessedItems != nil { in, out := &in.ProcessedItems, &out.ProcessedItems *out = make(ProcessedItems, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResourceStatus. func (in *TenantResourceStatus) DeepCopy() *TenantResourceStatus { if in == nil { return nil } out := new(TenantResourceStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TenantSpec) DeepCopyInto(out *TenantSpec) { *out = *in if in.Owners != nil { in, out := &in.Owners, &out.Owners *out = make(OwnerListSpec, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.NamespaceOptions != nil { in, out := &in.NamespaceOptions, &out.NamespaceOptions *out = new(NamespaceOptions) (*in).DeepCopyInto(*out) } if in.ServiceOptions != nil { in, out := &in.ServiceOptions, &out.ServiceOptions *out = new(api.ServiceOptions) (*in).DeepCopyInto(*out) } if in.PodOptions != nil { in, out := &in.PodOptions, &out.PodOptions *out = new(api.PodOptions) (*in).DeepCopyInto(*out) } if in.StorageClasses != nil { in, out := &in.StorageClasses, &out.StorageClasses *out = new(api.DefaultAllowedListSpec) (*in).DeepCopyInto(*out) } in.IngressOptions.DeepCopyInto(&out.IngressOptions) if in.ContainerRegistries != nil { in, out := &in.ContainerRegistries, &out.ContainerRegistries *out = new(api.AllowedListSpec) (*in).DeepCopyInto(*out) } if in.NodeSelector != nil { in, out := &in.NodeSelector, &out.NodeSelector *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } in.NetworkPolicies.DeepCopyInto(&out.NetworkPolicies) in.LimitRanges.DeepCopyInto(&out.LimitRanges) in.ResourceQuota.DeepCopyInto(&out.ResourceQuota) if in.AdditionalRoleBindings != nil { in, out := &in.AdditionalRoleBindings, &out.AdditionalRoleBindings *out = make([]api.AdditionalRoleBindingsSpec, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.ImagePullPolicies != nil { in, out := &in.ImagePullPolicies, &out.ImagePullPolicies *out = make([]api.ImagePullPolicySpec, len(*in)) copy(*out, *in) } if in.RuntimeClasses != nil { in, out := &in.RuntimeClasses, &out.RuntimeClasses *out = new(api.DefaultAllowedListSpec) (*in).DeepCopyInto(*out) } if in.PriorityClasses != nil { in, out := &in.PriorityClasses, &out.PriorityClasses *out = new(api.DefaultAllowedListSpec) (*in).DeepCopyInto(*out) } in.GatewayOptions.DeepCopyInto(&out.GatewayOptions) if in.ForceTenantPrefix != nil { in, out := &in.ForceTenantPrefix, &out.ForceTenantPrefix *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantSpec. func (in *TenantSpec) DeepCopy() *TenantSpec { if in == nil { return nil } out := new(TenantSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TenantStatus) DeepCopyInto(out *TenantStatus) { *out = *in if in.Namespaces != nil { in, out := &in.Namespaces, &out.Namespaces *out = make([]string, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantStatus. func (in *TenantStatus) DeepCopy() *TenantStatus { if in == nil { return nil } out := new(TenantStatus) in.DeepCopyInto(out) return out }