github.com/spotmaxtech/k8s-apimachinery-v0260@v0.0.1/pkg/apis/meta/internalversion/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 internalversion
    23  
    24  import (
    25  	runtime "github.com/spotmaxtech/k8s-apimachinery-v0260/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 *List) DeepCopyInto(out *List) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    33  	if in.Items != nil {
    34  		in, out := &in.Items, &out.Items
    35  		*out = make([]runtime.Object, len(*in))
    36  		for i := range *in {
    37  			if (*in)[i] != nil {
    38  				(*out)[i] = (*in)[i].DeepCopyObject()
    39  			}
    40  		}
    41  	}
    42  	return
    43  }
    44  
    45  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List.
    46  func (in *List) DeepCopy() *List {
    47  	if in == nil {
    48  		return nil
    49  	}
    50  	out := new(List)
    51  	in.DeepCopyInto(out)
    52  	return out
    53  }
    54  
    55  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    56  func (in *List) DeepCopyObject() runtime.Object {
    57  	if c := in.DeepCopy(); c != nil {
    58  		return c
    59  	}
    60  	return nil
    61  }
    62  
    63  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    64  func (in *ListOptions) DeepCopyInto(out *ListOptions) {
    65  	*out = *in
    66  	out.TypeMeta = in.TypeMeta
    67  	if in.LabelSelector != nil {
    68  		out.LabelSelector = in.LabelSelector.DeepCopySelector()
    69  	}
    70  	if in.FieldSelector != nil {
    71  		out.FieldSelector = in.FieldSelector.DeepCopySelector()
    72  	}
    73  	if in.TimeoutSeconds != nil {
    74  		in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
    75  		*out = new(int64)
    76  		**out = **in
    77  	}
    78  	return
    79  }
    80  
    81  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions.
    82  func (in *ListOptions) DeepCopy() *ListOptions {
    83  	if in == nil {
    84  		return nil
    85  	}
    86  	out := new(ListOptions)
    87  	in.DeepCopyInto(out)
    88  	return out
    89  }
    90  
    91  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    92  func (in *ListOptions) DeepCopyObject() runtime.Object {
    93  	if c := in.DeepCopy(); c != nil {
    94  		return c
    95  	}
    96  	return nil
    97  }