...

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

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

View as plain text