github.com/spotmaxtech/k8s-apimachinery-v0260@v0.0.1/pkg/runtime/zz_generated.deepcopy.go (about)

     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 runtime
    23  
    24  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    25  func (in *RawExtension) DeepCopyInto(out *RawExtension) {
    26  	*out = *in
    27  	if in.Raw != nil {
    28  		in, out := &in.Raw, &out.Raw
    29  		*out = make([]byte, len(*in))
    30  		copy(*out, *in)
    31  	}
    32  	if in.Object != nil {
    33  		out.Object = in.Object.DeepCopyObject()
    34  	}
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension.
    39  func (in *RawExtension) DeepCopy() *RawExtension {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(RawExtension)
    44  	in.DeepCopyInto(out)
    45  	return out
    46  }
    47  
    48  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    49  func (in *Unknown) DeepCopyInto(out *Unknown) {
    50  	*out = *in
    51  	out.TypeMeta = in.TypeMeta
    52  	if in.Raw != nil {
    53  		in, out := &in.Raw, &out.Raw
    54  		*out = make([]byte, len(*in))
    55  		copy(*out, *in)
    56  	}
    57  	return
    58  }
    59  
    60  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unknown.
    61  func (in *Unknown) DeepCopy() *Unknown {
    62  	if in == nil {
    63  		return nil
    64  	}
    65  	out := new(Unknown)
    66  	in.DeepCopyInto(out)
    67  	return out
    68  }
    69  
    70  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object.
    71  func (in *Unknown) DeepCopyObject() Object {
    72  	if c := in.DeepCopy(); c != nil {
    73  		return c
    74  	}
    75  	return nil
    76  }