|
| 1 | +// +build !ignore_autogenerated |
| 2 | + |
| 3 | +/* |
| 4 | +Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 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 | +// autogenerated by controller-gen object, do not modify manually |
| 20 | + |
| 21 | +package v1 |
| 22 | + |
| 23 | +import ( |
| 24 | + common "github.com/aws/amazon-sagemaker-operator-for-k8s/api/v1/common" |
| 25 | + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| 26 | + runtime "k8s.io/apimachinery/pkg/runtime" |
| 27 | +) |
| 28 | + |
| 29 | +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 30 | +func (in *BatchTransformJob) DeepCopyInto(out *BatchTransformJob) { |
| 31 | + *out = *in |
| 32 | + out.TypeMeta = in.TypeMeta |
| 33 | + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 34 | + in.Spec.DeepCopyInto(&out.Spec) |
| 35 | + in.Status.DeepCopyInto(&out.Status) |
| 36 | +} |
| 37 | + |
| 38 | +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchTransformJob. |
| 39 | +func (in *BatchTransformJob) DeepCopy() *BatchTransformJob { |
| 40 | + if in == nil { |
| 41 | + return nil |
| 42 | + } |
| 43 | + out := new(BatchTransformJob) |
| 44 | + in.DeepCopyInto(out) |
| 45 | + return out |
| 46 | +} |
| 47 | + |
| 48 | +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 49 | +func (in *BatchTransformJob) DeepCopyObject() runtime.Object { |
| 50 | + if c := in.DeepCopy(); c != nil { |
| 51 | + return c |
| 52 | + } |
| 53 | + return nil |
| 54 | +} |
| 55 | + |
| 56 | +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 57 | +func (in *BatchTransformJobList) DeepCopyInto(out *BatchTransformJobList) { |
| 58 | + *out = *in |
| 59 | + out.TypeMeta = in.TypeMeta |
| 60 | + out.ListMeta = in.ListMeta |
| 61 | + if in.Items != nil { |
| 62 | + in, out := &in.Items, &out.Items |
| 63 | + *out = make([]BatchTransformJob, len(*in)) |
| 64 | + for i := range *in { |
| 65 | + (*in)[i].DeepCopyInto(&(*out)[i]) |
| 66 | + } |
| 67 | + } |
| 68 | +} |
| 69 | + |
| 70 | +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchTransformJobList. |
| 71 | +func (in *BatchTransformJobList) DeepCopy() *BatchTransformJobList { |
| 72 | + if in == nil { |
| 73 | + return nil |
| 74 | + } |
| 75 | + out := new(BatchTransformJobList) |
| 76 | + in.DeepCopyInto(out) |
| 77 | + return out |
| 78 | +} |
| 79 | + |
| 80 | +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 81 | +func (in *BatchTransformJobList) DeepCopyObject() runtime.Object { |
| 82 | + if c := in.DeepCopy(); c != nil { |
| 83 | + return c |
| 84 | + } |
| 85 | + return nil |
| 86 | +} |
| 87 | + |
| 88 | +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 89 | +func (in *BatchTransformJobSpec) DeepCopyInto(out *BatchTransformJobSpec) { |
| 90 | + *out = *in |
| 91 | + if in.TransformJobName != nil { |
| 92 | + in, out := &in.TransformJobName, &out.TransformJobName |
| 93 | + *out = new(string) |
| 94 | + **out = **in |
| 95 | + } |
| 96 | + if in.DataProcessing != nil { |
| 97 | + in, out := &in.DataProcessing, &out.DataProcessing |
| 98 | + *out = new(common.DataProcessing) |
| 99 | + (*in).DeepCopyInto(*out) |
| 100 | + } |
| 101 | + if in.Environment != nil { |
| 102 | + in, out := &in.Environment, &out.Environment |
| 103 | + *out = make([]*common.KeyValuePair, len(*in)) |
| 104 | + for i := range *in { |
| 105 | + if (*in)[i] != nil { |
| 106 | + in, out := &(*in)[i], &(*out)[i] |
| 107 | + *out = new(common.KeyValuePair) |
| 108 | + **out = **in |
| 109 | + } |
| 110 | + } |
| 111 | + } |
| 112 | + if in.MaxConcurrentTransforms != nil { |
| 113 | + in, out := &in.MaxConcurrentTransforms, &out.MaxConcurrentTransforms |
| 114 | + *out = new(int64) |
| 115 | + **out = **in |
| 116 | + } |
| 117 | + if in.MaxPayloadInMB != nil { |
| 118 | + in, out := &in.MaxPayloadInMB, &out.MaxPayloadInMB |
| 119 | + *out = new(int64) |
| 120 | + **out = **in |
| 121 | + } |
| 122 | + if in.ModelName != nil { |
| 123 | + in, out := &in.ModelName, &out.ModelName |
| 124 | + *out = new(string) |
| 125 | + **out = **in |
| 126 | + } |
| 127 | + if in.Tags != nil { |
| 128 | + in, out := &in.Tags, &out.Tags |
| 129 | + *out = make([]common.Tag, len(*in)) |
| 130 | + for i := range *in { |
| 131 | + (*in)[i].DeepCopyInto(&(*out)[i]) |
| 132 | + } |
| 133 | + } |
| 134 | + if in.TransformInput != nil { |
| 135 | + in, out := &in.TransformInput, &out.TransformInput |
| 136 | + *out = new(common.TransformInput) |
| 137 | + (*in).DeepCopyInto(*out) |
| 138 | + } |
| 139 | + if in.TransformOutput != nil { |
| 140 | + in, out := &in.TransformOutput, &out.TransformOutput |
| 141 | + *out = new(common.TransformOutput) |
| 142 | + (*in).DeepCopyInto(*out) |
| 143 | + } |
| 144 | + if in.TransformResources != nil { |
| 145 | + in, out := &in.TransformResources, &out.TransformResources |
| 146 | + *out = new(common.TransformResources) |
| 147 | + (*in).DeepCopyInto(*out) |
| 148 | + } |
| 149 | + if in.Region != nil { |
| 150 | + in, out := &in.Region, &out.Region |
| 151 | + *out = new(string) |
| 152 | + **out = **in |
| 153 | + } |
| 154 | + if in.SageMakerEndpoint != nil { |
| 155 | + in, out := &in.SageMakerEndpoint, &out.SageMakerEndpoint |
| 156 | + *out = new(string) |
| 157 | + **out = **in |
| 158 | + } |
| 159 | +} |
| 160 | + |
| 161 | +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchTransformJobSpec. |
| 162 | +func (in *BatchTransformJobSpec) DeepCopy() *BatchTransformJobSpec { |
| 163 | + if in == nil { |
| 164 | + return nil |
| 165 | + } |
| 166 | + out := new(BatchTransformJobSpec) |
| 167 | + in.DeepCopyInto(out) |
| 168 | + return out |
| 169 | +} |
| 170 | + |
| 171 | +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 172 | +func (in *BatchTransformJobStatus) DeepCopyInto(out *BatchTransformJobStatus) { |
| 173 | + *out = *in |
| 174 | + if in.LastCheckTime != nil { |
| 175 | + in, out := &in.LastCheckTime, &out.LastCheckTime |
| 176 | + *out = new(metav1.Time) |
| 177 | + (*in).DeepCopyInto(*out) |
| 178 | + } |
| 179 | +} |
| 180 | + |
| 181 | +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchTransformJobStatus. |
| 182 | +func (in *BatchTransformJobStatus) DeepCopy() *BatchTransformJobStatus { |
| 183 | + if in == nil { |
| 184 | + return nil |
| 185 | + } |
| 186 | + out := new(BatchTransformJobStatus) |
| 187 | + in.DeepCopyInto(out) |
| 188 | + return out |
| 189 | +} |
0 commit comments