github.com/giantswarm/apiextensions/v2@v2.6.2/pkg/apis/backup/v1alpha1/zz_generated.deepcopy.go (about) 1 // +build !ignore_autogenerated 2 3 /* 4 Copyright 2020 Giant Swarm GmbH. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 */ 18 19 // Code generated by controller-gen. DO NOT EDIT. 20 21 package v1alpha1 22 23 import ( 24 "k8s.io/apimachinery/pkg/runtime" 25 ) 26 27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 28 func (in *ETCDBackup) DeepCopyInto(out *ETCDBackup) { 29 *out = *in 30 out.TypeMeta = in.TypeMeta 31 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 32 out.Spec = in.Spec 33 in.Status.DeepCopyInto(&out.Status) 34 } 35 36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackup. 37 func (in *ETCDBackup) DeepCopy() *ETCDBackup { 38 if in == nil { 39 return nil 40 } 41 out := new(ETCDBackup) 42 in.DeepCopyInto(out) 43 return out 44 } 45 46 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 47 func (in *ETCDBackup) DeepCopyObject() runtime.Object { 48 if c := in.DeepCopy(); c != nil { 49 return c 50 } 51 return nil 52 } 53 54 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 55 func (in *ETCDBackupList) DeepCopyInto(out *ETCDBackupList) { 56 *out = *in 57 out.TypeMeta = in.TypeMeta 58 in.ListMeta.DeepCopyInto(&out.ListMeta) 59 if in.Items != nil { 60 in, out := &in.Items, &out.Items 61 *out = make([]ETCDBackup, len(*in)) 62 for i := range *in { 63 (*in)[i].DeepCopyInto(&(*out)[i]) 64 } 65 } 66 } 67 68 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackupList. 69 func (in *ETCDBackupList) DeepCopy() *ETCDBackupList { 70 if in == nil { 71 return nil 72 } 73 out := new(ETCDBackupList) 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 *ETCDBackupList) 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 *ETCDBackupSpec) DeepCopyInto(out *ETCDBackupSpec) { 88 *out = *in 89 } 90 91 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackupSpec. 92 func (in *ETCDBackupSpec) DeepCopy() *ETCDBackupSpec { 93 if in == nil { 94 return nil 95 } 96 out := new(ETCDBackupSpec) 97 in.DeepCopyInto(out) 98 return out 99 } 100 101 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 102 func (in *ETCDBackupStatus) DeepCopyInto(out *ETCDBackupStatus) { 103 *out = *in 104 if in.Instances != nil { 105 in, out := &in.Instances, &out.Instances 106 *out = make(map[string]ETCDInstanceBackupStatusIndex, len(*in)) 107 for key, val := range *in { 108 (*out)[key] = *val.DeepCopy() 109 } 110 } 111 in.StartedTimestamp.DeepCopyInto(&out.StartedTimestamp) 112 in.FinishedTimestamp.DeepCopyInto(&out.FinishedTimestamp) 113 } 114 115 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackupStatus. 116 func (in *ETCDBackupStatus) DeepCopy() *ETCDBackupStatus { 117 if in == nil { 118 return nil 119 } 120 out := new(ETCDBackupStatus) 121 in.DeepCopyInto(out) 122 return out 123 } 124 125 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 126 func (in *ETCDInstanceBackupStatus) DeepCopyInto(out *ETCDInstanceBackupStatus) { 127 *out = *in 128 in.StartedTimestamp.DeepCopyInto(&out.StartedTimestamp) 129 in.FinishedTimestamp.DeepCopyInto(&out.FinishedTimestamp) 130 } 131 132 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDInstanceBackupStatus. 133 func (in *ETCDInstanceBackupStatus) DeepCopy() *ETCDInstanceBackupStatus { 134 if in == nil { 135 return nil 136 } 137 out := new(ETCDInstanceBackupStatus) 138 in.DeepCopyInto(out) 139 return out 140 } 141 142 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 143 func (in *ETCDInstanceBackupStatusIndex) DeepCopyInto(out *ETCDInstanceBackupStatusIndex) { 144 *out = *in 145 in.V2.DeepCopyInto(&out.V2) 146 in.V3.DeepCopyInto(&out.V3) 147 } 148 149 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDInstanceBackupStatusIndex. 150 func (in *ETCDInstanceBackupStatusIndex) DeepCopy() *ETCDInstanceBackupStatusIndex { 151 if in == nil { 152 return nil 153 } 154 out := new(ETCDInstanceBackupStatusIndex) 155 in.DeepCopyInto(out) 156 return out 157 }