...

Source file src/k8s.io/api/networking/v1alpha1/zz_generated.deepcopy.go

Documentation: k8s.io/api/networking/v1alpha1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes 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 deepcopy-gen. DO NOT EDIT.
    21  
    22  package v1alpha1
    23  
    24  import (
    25  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *IPAddress) DeepCopyInto(out *IPAddress) {
    31  	*out = *in
    32  	out.TypeMeta = in.TypeMeta
    33  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    34  	in.Spec.DeepCopyInto(&out.Spec)
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddress.
    39  func (in *IPAddress) DeepCopy() *IPAddress {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(IPAddress)
    44  	in.DeepCopyInto(out)
    45  	return out
    46  }
    47  
    48  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    49  func (in *IPAddress) DeepCopyObject() runtime.Object {
    50  	if c := in.DeepCopy(); c != nil {
    51  		return c
    52  	}
    53  	return nil
    54  }
    55  
    56  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    57  func (in *IPAddressList) DeepCopyInto(out *IPAddressList) {
    58  	*out = *in
    59  	out.TypeMeta = in.TypeMeta
    60  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    61  	if in.Items != nil {
    62  		in, out := &in.Items, &out.Items
    63  		*out = make([]IPAddress, len(*in))
    64  		for i := range *in {
    65  			(*in)[i].DeepCopyInto(&(*out)[i])
    66  		}
    67  	}
    68  	return
    69  }
    70  
    71  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressList.
    72  func (in *IPAddressList) DeepCopy() *IPAddressList {
    73  	if in == nil {
    74  		return nil
    75  	}
    76  	out := new(IPAddressList)
    77  	in.DeepCopyInto(out)
    78  	return out
    79  }
    80  
    81  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    82  func (in *IPAddressList) DeepCopyObject() runtime.Object {
    83  	if c := in.DeepCopy(); c != nil {
    84  		return c
    85  	}
    86  	return nil
    87  }
    88  
    89  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    90  func (in *IPAddressSpec) DeepCopyInto(out *IPAddressSpec) {
    91  	*out = *in
    92  	if in.ParentRef != nil {
    93  		in, out := &in.ParentRef, &out.ParentRef
    94  		*out = new(ParentReference)
    95  		**out = **in
    96  	}
    97  	return
    98  }
    99  
   100  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressSpec.
   101  func (in *IPAddressSpec) DeepCopy() *IPAddressSpec {
   102  	if in == nil {
   103  		return nil
   104  	}
   105  	out := new(IPAddressSpec)
   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 *ParentReference) DeepCopyInto(out *ParentReference) {
   112  	*out = *in
   113  	return
   114  }
   115  
   116  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParentReference.
   117  func (in *ParentReference) DeepCopy() *ParentReference {
   118  	if in == nil {
   119  		return nil
   120  	}
   121  	out := new(ParentReference)
   122  	in.DeepCopyInto(out)
   123  	return out
   124  }
   125  
   126  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   127  func (in *ServiceCIDR) DeepCopyInto(out *ServiceCIDR) {
   128  	*out = *in
   129  	out.TypeMeta = in.TypeMeta
   130  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   131  	in.Spec.DeepCopyInto(&out.Spec)
   132  	in.Status.DeepCopyInto(&out.Status)
   133  	return
   134  }
   135  
   136  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDR.
   137  func (in *ServiceCIDR) DeepCopy() *ServiceCIDR {
   138  	if in == nil {
   139  		return nil
   140  	}
   141  	out := new(ServiceCIDR)
   142  	in.DeepCopyInto(out)
   143  	return out
   144  }
   145  
   146  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   147  func (in *ServiceCIDR) DeepCopyObject() runtime.Object {
   148  	if c := in.DeepCopy(); c != nil {
   149  		return c
   150  	}
   151  	return nil
   152  }
   153  
   154  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   155  func (in *ServiceCIDRList) DeepCopyInto(out *ServiceCIDRList) {
   156  	*out = *in
   157  	out.TypeMeta = in.TypeMeta
   158  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   159  	if in.Items != nil {
   160  		in, out := &in.Items, &out.Items
   161  		*out = make([]ServiceCIDR, len(*in))
   162  		for i := range *in {
   163  			(*in)[i].DeepCopyInto(&(*out)[i])
   164  		}
   165  	}
   166  	return
   167  }
   168  
   169  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRList.
   170  func (in *ServiceCIDRList) DeepCopy() *ServiceCIDRList {
   171  	if in == nil {
   172  		return nil
   173  	}
   174  	out := new(ServiceCIDRList)
   175  	in.DeepCopyInto(out)
   176  	return out
   177  }
   178  
   179  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   180  func (in *ServiceCIDRList) DeepCopyObject() runtime.Object {
   181  	if c := in.DeepCopy(); c != nil {
   182  		return c
   183  	}
   184  	return nil
   185  }
   186  
   187  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   188  func (in *ServiceCIDRSpec) DeepCopyInto(out *ServiceCIDRSpec) {
   189  	*out = *in
   190  	if in.CIDRs != nil {
   191  		in, out := &in.CIDRs, &out.CIDRs
   192  		*out = make([]string, len(*in))
   193  		copy(*out, *in)
   194  	}
   195  	return
   196  }
   197  
   198  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRSpec.
   199  func (in *ServiceCIDRSpec) DeepCopy() *ServiceCIDRSpec {
   200  	if in == nil {
   201  		return nil
   202  	}
   203  	out := new(ServiceCIDRSpec)
   204  	in.DeepCopyInto(out)
   205  	return out
   206  }
   207  
   208  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   209  func (in *ServiceCIDRStatus) DeepCopyInto(out *ServiceCIDRStatus) {
   210  	*out = *in
   211  	if in.Conditions != nil {
   212  		in, out := &in.Conditions, &out.Conditions
   213  		*out = make([]v1.Condition, len(*in))
   214  		for i := range *in {
   215  			(*in)[i].DeepCopyInto(&(*out)[i])
   216  		}
   217  	}
   218  	return
   219  }
   220  
   221  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRStatus.
   222  func (in *ServiceCIDRStatus) DeepCopy() *ServiceCIDRStatus {
   223  	if in == nil {
   224  		return nil
   225  	}
   226  	out := new(ServiceCIDRStatus)
   227  	in.DeepCopyInto(out)
   228  	return out
   229  }
   230  

View as plain text