k8s.io/apiserver@v0.31.1/pkg/endpoints/testing/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 testing
    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 *Simple) DeepCopyInto(out *Simple) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	if in.Labels != nil {
    34  		in, out := &in.Labels, &out.Labels
    35  		*out = make(map[string]string, len(*in))
    36  		for key, val := range *in {
    37  			(*out)[key] = val
    38  		}
    39  	}
    40  	return
    41  }
    42  
    43  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Simple.
    44  func (in *Simple) DeepCopy() *Simple {
    45  	if in == nil {
    46  		return nil
    47  	}
    48  	out := new(Simple)
    49  	in.DeepCopyInto(out)
    50  	return out
    51  }
    52  
    53  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    54  func (in *Simple) DeepCopyObject() runtime.Object {
    55  	if c := in.DeepCopy(); c != nil {
    56  		return c
    57  	}
    58  	return nil
    59  }
    60  
    61  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    62  func (in *SimpleGetOptions) DeepCopyInto(out *SimpleGetOptions) {
    63  	*out = *in
    64  	out.TypeMeta = in.TypeMeta
    65  	return
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleGetOptions.
    69  func (in *SimpleGetOptions) DeepCopy() *SimpleGetOptions {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(SimpleGetOptions)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    79  func (in *SimpleGetOptions) DeepCopyObject() runtime.Object {
    80  	if c := in.DeepCopy(); c != nil {
    81  		return c
    82  	}
    83  	return nil
    84  }
    85  
    86  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    87  func (in *SimpleList) DeepCopyInto(out *SimpleList) {
    88  	*out = *in
    89  	out.TypeMeta = in.TypeMeta
    90  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    91  	if in.Items != nil {
    92  		in, out := &in.Items, &out.Items
    93  		*out = make([]Simple, len(*in))
    94  		for i := range *in {
    95  			(*in)[i].DeepCopyInto(&(*out)[i])
    96  		}
    97  	}
    98  	return
    99  }
   100  
   101  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleList.
   102  func (in *SimpleList) DeepCopy() *SimpleList {
   103  	if in == nil {
   104  		return nil
   105  	}
   106  	out := new(SimpleList)
   107  	in.DeepCopyInto(out)
   108  	return out
   109  }
   110  
   111  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   112  func (in *SimpleList) DeepCopyObject() runtime.Object {
   113  	if c := in.DeepCopy(); c != nil {
   114  		return c
   115  	}
   116  	return nil
   117  }
   118  
   119  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   120  func (in *SimpleRoot) DeepCopyInto(out *SimpleRoot) {
   121  	*out = *in
   122  	out.TypeMeta = in.TypeMeta
   123  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   124  	if in.Labels != nil {
   125  		in, out := &in.Labels, &out.Labels
   126  		*out = make(map[string]string, len(*in))
   127  		for key, val := range *in {
   128  			(*out)[key] = val
   129  		}
   130  	}
   131  	return
   132  }
   133  
   134  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleRoot.
   135  func (in *SimpleRoot) DeepCopy() *SimpleRoot {
   136  	if in == nil {
   137  		return nil
   138  	}
   139  	out := new(SimpleRoot)
   140  	in.DeepCopyInto(out)
   141  	return out
   142  }
   143  
   144  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   145  func (in *SimpleRoot) DeepCopyObject() runtime.Object {
   146  	if c := in.DeepCopy(); c != nil {
   147  		return c
   148  	}
   149  	return nil
   150  }
   151  
   152  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   153  func (in *SimpleXGSubresource) DeepCopyInto(out *SimpleXGSubresource) {
   154  	*out = *in
   155  	out.TypeMeta = in.TypeMeta
   156  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   157  	if in.Labels != nil {
   158  		in, out := &in.Labels, &out.Labels
   159  		*out = make(map[string]string, len(*in))
   160  		for key, val := range *in {
   161  			(*out)[key] = val
   162  		}
   163  	}
   164  	return
   165  }
   166  
   167  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleXGSubresource.
   168  func (in *SimpleXGSubresource) DeepCopy() *SimpleXGSubresource {
   169  	if in == nil {
   170  		return nil
   171  	}
   172  	out := new(SimpleXGSubresource)
   173  	in.DeepCopyInto(out)
   174  	return out
   175  }
   176  
   177  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   178  func (in *SimpleXGSubresource) DeepCopyObject() runtime.Object {
   179  	if c := in.DeepCopy(); c != nil {
   180  		return c
   181  	}
   182  	return nil
   183  }