kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/quota/v1alpha2/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2020 The KubeSphere Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by controller-gen. DO NOT EDIT.
    21  
    22  package v1alpha2
    23  
    24  import (
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *ResourceQuota) DeepCopyInto(out *ResourceQuota) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  	in.Status.DeepCopyInto(&out.Status)
    35  }
    36  
    37  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuota.
    38  func (in *ResourceQuota) DeepCopy() *ResourceQuota {
    39  	if in == nil {
    40  		return nil
    41  	}
    42  	out := new(ResourceQuota)
    43  	in.DeepCopyInto(out)
    44  	return out
    45  }
    46  
    47  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    48  func (in *ResourceQuota) DeepCopyObject() runtime.Object {
    49  	if c := in.DeepCopy(); c != nil {
    50  		return c
    51  	}
    52  	return nil
    53  }
    54  
    55  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    56  func (in *ResourceQuotaList) DeepCopyInto(out *ResourceQuotaList) {
    57  	*out = *in
    58  	out.TypeMeta = in.TypeMeta
    59  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    60  	if in.Items != nil {
    61  		in, out := &in.Items, &out.Items
    62  		*out = make([]ResourceQuota, len(*in))
    63  		for i := range *in {
    64  			(*in)[i].DeepCopyInto(&(*out)[i])
    65  		}
    66  	}
    67  }
    68  
    69  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList.
    70  func (in *ResourceQuotaList) DeepCopy() *ResourceQuotaList {
    71  	if in == nil {
    72  		return nil
    73  	}
    74  	out := new(ResourceQuotaList)
    75  	in.DeepCopyInto(out)
    76  	return out
    77  }
    78  
    79  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    80  func (in *ResourceQuotaList) DeepCopyObject() runtime.Object {
    81  	if c := in.DeepCopy(); c != nil {
    82  		return c
    83  	}
    84  	return nil
    85  }
    86  
    87  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    88  func (in *ResourceQuotaSpec) DeepCopyInto(out *ResourceQuotaSpec) {
    89  	*out = *in
    90  	if in.LabelSelector != nil {
    91  		in, out := &in.LabelSelector, &out.LabelSelector
    92  		*out = make(map[string]string, len(*in))
    93  		for key, val := range *in {
    94  			(*out)[key] = val
    95  		}
    96  	}
    97  	in.Quota.DeepCopyInto(&out.Quota)
    98  }
    99  
   100  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec.
   101  func (in *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec {
   102  	if in == nil {
   103  		return nil
   104  	}
   105  	out := new(ResourceQuotaSpec)
   106  	in.DeepCopyInto(out)
   107  	return out
   108  }
   109  
   110  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   111  func (in *ResourceQuotaStatus) DeepCopyInto(out *ResourceQuotaStatus) {
   112  	*out = *in
   113  	in.Total.DeepCopyInto(&out.Total)
   114  	if in.Namespaces != nil {
   115  		in, out := &in.Namespaces, &out.Namespaces
   116  		*out = make(ResourceQuotasStatusByNamespace, len(*in))
   117  		for i := range *in {
   118  			(*in)[i].DeepCopyInto(&(*out)[i])
   119  		}
   120  	}
   121  }
   122  
   123  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatus.
   124  func (in *ResourceQuotaStatus) DeepCopy() *ResourceQuotaStatus {
   125  	if in == nil {
   126  		return nil
   127  	}
   128  	out := new(ResourceQuotaStatus)
   129  	in.DeepCopyInto(out)
   130  	return out
   131  }
   132  
   133  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   134  func (in *ResourceQuotaStatusByNamespace) DeepCopyInto(out *ResourceQuotaStatusByNamespace) {
   135  	*out = *in
   136  	in.ResourceQuotaStatus.DeepCopyInto(&out.ResourceQuotaStatus)
   137  }
   138  
   139  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatusByNamespace.
   140  func (in *ResourceQuotaStatusByNamespace) DeepCopy() *ResourceQuotaStatusByNamespace {
   141  	if in == nil {
   142  		return nil
   143  	}
   144  	out := new(ResourceQuotaStatusByNamespace)
   145  	in.DeepCopyInto(out)
   146  	return out
   147  }
   148  
   149  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   150  func (in ResourceQuotasStatusByNamespace) DeepCopyInto(out *ResourceQuotasStatusByNamespace) {
   151  	{
   152  		in := &in
   153  		*out = make(ResourceQuotasStatusByNamespace, len(*in))
   154  		for i := range *in {
   155  			(*in)[i].DeepCopyInto(&(*out)[i])
   156  		}
   157  	}
   158  }
   159  
   160  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotasStatusByNamespace.
   161  func (in ResourceQuotasStatusByNamespace) DeepCopy() ResourceQuotasStatusByNamespace {
   162  	if in == nil {
   163  		return nil
   164  	}
   165  	out := new(ResourceQuotasStatusByNamespace)
   166  	in.DeepCopyInto(out)
   167  	return *out
   168  }