...

Source file src/github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/apis/k8s.cni.cncf.io/v1/zz_generated.deepcopy.go

Documentation: github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/apis/k8s.cni.cncf.io/v1

     1  // +build !ignore_autogenerated
     2  
     3  /*
     4  Copyright 2019 The Kubernetes Authors
     5  
     6  Licensed under the Apache License, Version 2.0 (the "License");
     7  you may not use this file except in compliance with the License.
     8  You may obtain a copy of the License at
     9  
    10      http://www.apache.org/licenses/LICENSE-2.0
    11  
    12  Unless required by applicable law or agreed to in writing, software
    13  distributed under the License is distributed on an "AS IS" BASIS,
    14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  See the License for the specific language governing permissions and
    16  limitations under the License.
    17  */
    18  
    19  // Code generated by deepcopy-gen. DO NOT EDIT.
    20  
    21  package v1
    22  
    23  import (
    24  	runtime "k8s.io/apimachinery/pkg/runtime"
    25  )
    26  
    27  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    28  func (in *NetworkAttachmentDefinition) DeepCopyInto(out *NetworkAttachmentDefinition) {
    29  	*out = *in
    30  	out.TypeMeta = in.TypeMeta
    31  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    32  	out.Spec = in.Spec
    33  	return
    34  }
    35  
    36  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAttachmentDefinition.
    37  func (in *NetworkAttachmentDefinition) DeepCopy() *NetworkAttachmentDefinition {
    38  	if in == nil {
    39  		return nil
    40  	}
    41  	out := new(NetworkAttachmentDefinition)
    42  	in.DeepCopyInto(out)
    43  	return out
    44  }
    45  
    46  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    47  func (in *NetworkAttachmentDefinition) DeepCopyObject() runtime.Object {
    48  	if c := in.DeepCopy(); c != nil {
    49  		return c
    50  	}
    51  	return nil
    52  }
    53  
    54  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    55  func (in *NetworkAttachmentDefinitionList) DeepCopyInto(out *NetworkAttachmentDefinitionList) {
    56  	*out = *in
    57  	out.TypeMeta = in.TypeMeta
    58  	out.ListMeta = in.ListMeta
    59  	if in.Items != nil {
    60  		in, out := &in.Items, &out.Items
    61  		*out = make([]NetworkAttachmentDefinition, len(*in))
    62  		for i := range *in {
    63  			(*in)[i].DeepCopyInto(&(*out)[i])
    64  		}
    65  	}
    66  	return
    67  }
    68  
    69  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAttachmentDefinitionList.
    70  func (in *NetworkAttachmentDefinitionList) DeepCopy() *NetworkAttachmentDefinitionList {
    71  	if in == nil {
    72  		return nil
    73  	}
    74  	out := new(NetworkAttachmentDefinitionList)
    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 *NetworkAttachmentDefinitionList) 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 *NetworkAttachmentDefinitionSpec) DeepCopyInto(out *NetworkAttachmentDefinitionSpec) {
    89  	*out = *in
    90  	return
    91  }
    92  
    93  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAttachmentDefinitionSpec.
    94  func (in *NetworkAttachmentDefinitionSpec) DeepCopy() *NetworkAttachmentDefinitionSpec {
    95  	if in == nil {
    96  		return nil
    97  	}
    98  	out := new(NetworkAttachmentDefinitionSpec)
    99  	in.DeepCopyInto(out)
   100  	return out
   101  }
   102  

View as plain text