k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/pkg/apis/storagemigration/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 storagemigration 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 *GroupVersionResource) DeepCopyInto(out *GroupVersionResource) { 30 *out = *in 31 return 32 } 33 34 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResource. 35 func (in *GroupVersionResource) DeepCopy() *GroupVersionResource { 36 if in == nil { 37 return nil 38 } 39 out := new(GroupVersionResource) 40 in.DeepCopyInto(out) 41 return out 42 } 43 44 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 45 func (in *MigrationCondition) DeepCopyInto(out *MigrationCondition) { 46 *out = *in 47 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime) 48 return 49 } 50 51 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationCondition. 52 func (in *MigrationCondition) DeepCopy() *MigrationCondition { 53 if in == nil { 54 return nil 55 } 56 out := new(MigrationCondition) 57 in.DeepCopyInto(out) 58 return out 59 } 60 61 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 62 func (in *StorageVersionMigration) DeepCopyInto(out *StorageVersionMigration) { 63 *out = *in 64 out.TypeMeta = in.TypeMeta 65 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 66 out.Spec = in.Spec 67 in.Status.DeepCopyInto(&out.Status) 68 return 69 } 70 71 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionMigration. 72 func (in *StorageVersionMigration) DeepCopy() *StorageVersionMigration { 73 if in == nil { 74 return nil 75 } 76 out := new(StorageVersionMigration) 77 in.DeepCopyInto(out) 78 return out 79 } 80 81 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 82 func (in *StorageVersionMigration) DeepCopyObject() runtime.Object { 83 if c := in.DeepCopy(); c != nil { 84 return c 85 } 86 return nil 87 } 88 89 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 90 func (in *StorageVersionMigrationList) DeepCopyInto(out *StorageVersionMigrationList) { 91 *out = *in 92 out.TypeMeta = in.TypeMeta 93 in.ListMeta.DeepCopyInto(&out.ListMeta) 94 if in.Items != nil { 95 in, out := &in.Items, &out.Items 96 *out = make([]StorageVersionMigration, len(*in)) 97 for i := range *in { 98 (*in)[i].DeepCopyInto(&(*out)[i]) 99 } 100 } 101 return 102 } 103 104 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionMigrationList. 105 func (in *StorageVersionMigrationList) DeepCopy() *StorageVersionMigrationList { 106 if in == nil { 107 return nil 108 } 109 out := new(StorageVersionMigrationList) 110 in.DeepCopyInto(out) 111 return out 112 } 113 114 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 115 func (in *StorageVersionMigrationList) DeepCopyObject() runtime.Object { 116 if c := in.DeepCopy(); c != nil { 117 return c 118 } 119 return nil 120 } 121 122 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 123 func (in *StorageVersionMigrationSpec) DeepCopyInto(out *StorageVersionMigrationSpec) { 124 *out = *in 125 out.Resource = in.Resource 126 return 127 } 128 129 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionMigrationSpec. 130 func (in *StorageVersionMigrationSpec) DeepCopy() *StorageVersionMigrationSpec { 131 if in == nil { 132 return nil 133 } 134 out := new(StorageVersionMigrationSpec) 135 in.DeepCopyInto(out) 136 return out 137 } 138 139 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 140 func (in *StorageVersionMigrationStatus) DeepCopyInto(out *StorageVersionMigrationStatus) { 141 *out = *in 142 if in.Conditions != nil { 143 in, out := &in.Conditions, &out.Conditions 144 *out = make([]MigrationCondition, len(*in)) 145 for i := range *in { 146 (*in)[i].DeepCopyInto(&(*out)[i]) 147 } 148 } 149 return 150 } 151 152 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionMigrationStatus. 153 func (in *StorageVersionMigrationStatus) DeepCopy() *StorageVersionMigrationStatus { 154 if in == nil { 155 return nil 156 } 157 out := new(StorageVersionMigrationStatus) 158 in.DeepCopyInto(out) 159 return out 160 }