diff --git a/.gitignore b/.gitignore index c9d34812..ff8bd3e9 100644 --- a/.gitignore +++ b/.gitignore @@ -14,10 +14,6 @@ awscreds.env # Output of the go coverage tool, specifically when used with LiteIDE *.out -# Kubernetes Generated files - skip generated files, except for vendored files -zz_generated.*.go -!vendor/**/zz_generated.* - # editor and IDE paraphernalia .idea *.swp diff --git a/api/v1/batchtransformjob/zz_generated.deepcopy.go b/api/v1/batchtransformjob/zz_generated.deepcopy.go new file mode 100644 index 00000000..8683f1b2 --- /dev/null +++ b/api/v1/batchtransformjob/zz_generated.deepcopy.go @@ -0,0 +1,189 @@ +// +build !ignore_autogenerated + +/* +Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// autogenerated by controller-gen object, do not modify manually + +package v1 + +import ( + common "github.com/aws/amazon-sagemaker-operator-for-k8s/api/v1/common" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BatchTransformJob) DeepCopyInto(out *BatchTransformJob) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchTransformJob. +func (in *BatchTransformJob) DeepCopy() *BatchTransformJob { + if in == nil { + return nil + } + out := new(BatchTransformJob) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BatchTransformJob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BatchTransformJobList) DeepCopyInto(out *BatchTransformJobList) { + *out = *in + out.TypeMeta = in.TypeMeta + out.ListMeta = in.ListMeta + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]BatchTransformJob, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchTransformJobList. +func (in *BatchTransformJobList) DeepCopy() *BatchTransformJobList { + if in == nil { + return nil + } + out := new(BatchTransformJobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BatchTransformJobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BatchTransformJobSpec) DeepCopyInto(out *BatchTransformJobSpec) { + *out = *in + if in.TransformJobName != nil { + in, out := &in.TransformJobName, &out.TransformJobName + *out = new(string) + **out = **in + } + if in.DataProcessing != nil { + in, out := &in.DataProcessing, &out.DataProcessing + *out = new(common.DataProcessing) + (*in).DeepCopyInto(*out) + } + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *out = make([]*common.KeyValuePair, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(common.KeyValuePair) + **out = **in + } + } + } + if in.MaxConcurrentTransforms != nil { + in, out := &in.MaxConcurrentTransforms, &out.MaxConcurrentTransforms + *out = new(int64) + **out = **in + } + if in.MaxPayloadInMB != nil { + in, out := &in.MaxPayloadInMB, &out.MaxPayloadInMB + *out = new(int64) + **out = **in + } + if in.ModelName != nil { + in, out := &in.ModelName, &out.ModelName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make([]common.Tag, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TransformInput != nil { + in, out := &in.TransformInput, &out.TransformInput + *out = new(common.TransformInput) + (*in).DeepCopyInto(*out) + } + if in.TransformOutput != nil { + in, out := &in.TransformOutput, &out.TransformOutput + *out = new(common.TransformOutput) + (*in).DeepCopyInto(*out) + } + if in.TransformResources != nil { + in, out := &in.TransformResources, &out.TransformResources + *out = new(common.TransformResources) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SageMakerEndpoint != nil { + in, out := &in.SageMakerEndpoint, &out.SageMakerEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchTransformJobSpec. +func (in *BatchTransformJobSpec) DeepCopy() *BatchTransformJobSpec { + if in == nil { + return nil + } + out := new(BatchTransformJobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BatchTransformJobStatus) DeepCopyInto(out *BatchTransformJobStatus) { + *out = *in + if in.LastCheckTime != nil { + in, out := &in.LastCheckTime, &out.LastCheckTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchTransformJobStatus. +func (in *BatchTransformJobStatus) DeepCopy() *BatchTransformJobStatus { + if in == nil { + return nil + } + out := new(BatchTransformJobStatus) + in.DeepCopyInto(out) + return out +} diff --git a/api/v1/common/zz_generated.deepcopy.go b/api/v1/common/zz_generated.deepcopy.go new file mode 100644 index 00000000..3926de08 --- /dev/null +++ b/api/v1/common/zz_generated.deepcopy.go @@ -0,0 +1,1429 @@ +// +build !ignore_autogenerated + +/* +Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// autogenerated by controller-gen object, do not modify manually + +package v1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlgorithmSpecification) DeepCopyInto(out *AlgorithmSpecification) { + *out = *in + if in.AlgorithmName != nil { + in, out := &in.AlgorithmName, &out.AlgorithmName + *out = new(string) + **out = **in + } + if in.MetricDefinitions != nil { + in, out := &in.MetricDefinitions, &out.MetricDefinitions + *out = make([]MetricDefinition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TrainingImage != nil { + in, out := &in.TrainingImage, &out.TrainingImage + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlgorithmSpecification. +func (in *AlgorithmSpecification) DeepCopy() *AlgorithmSpecification { + if in == nil { + return nil + } + out := new(AlgorithmSpecification) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CategoricalParameterRange) DeepCopyInto(out *CategoricalParameterRange) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]string, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CategoricalParameterRange. +func (in *CategoricalParameterRange) DeepCopy() *CategoricalParameterRange { + if in == nil { + return nil + } + out := new(CategoricalParameterRange) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Channel) DeepCopyInto(out *Channel) { + *out = *in + if in.ChannelName != nil { + in, out := &in.ChannelName, &out.ChannelName + *out = new(string) + **out = **in + } + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.DataSource != nil { + in, out := &in.DataSource, &out.DataSource + *out = new(DataSource) + (*in).DeepCopyInto(*out) + } + if in.ShuffleConfig != nil { + in, out := &in.ShuffleConfig, &out.ShuffleConfig + *out = new(ShuffleConfig) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Channel. +func (in *Channel) DeepCopy() *Channel { + if in == nil { + return nil + } + out := new(Channel) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CheckpointConfig) DeepCopyInto(out *CheckpointConfig) { + *out = *in + if in.LocalPath != nil { + in, out := &in.LocalPath, &out.LocalPath + *out = new(string) + **out = **in + } + if in.S3Uri != nil { + in, out := &in.S3Uri, &out.S3Uri + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckpointConfig. +func (in *CheckpointConfig) DeepCopy() *CheckpointConfig { + if in == nil { + return nil + } + out := new(CheckpointConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CollectionConfiguration) DeepCopyInto(out *CollectionConfiguration) { + *out = *in + if in.CollectionName != nil { + in, out := &in.CollectionName, &out.CollectionName + *out = new(string) + **out = **in + } + if in.CollectionParameters != nil { + in, out := &in.CollectionParameters, &out.CollectionParameters + *out = make([]*KeyValuePair, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(KeyValuePair) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CollectionConfiguration. +func (in *CollectionConfiguration) DeepCopy() *CollectionConfiguration { + if in == nil { + return nil + } + out := new(CollectionConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerDefinition) DeepCopyInto(out *ContainerDefinition) { + *out = *in + if in.ContainerHostname != nil { + in, out := &in.ContainerHostname, &out.ContainerHostname + *out = new(string) + **out = **in + } + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *out = make([]*KeyValuePair, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(KeyValuePair) + **out = **in + } + } + } + if in.Image != nil { + in, out := &in.Image, &out.Image + *out = new(string) + **out = **in + } + if in.ModelDataUrl != nil { + in, out := &in.ModelDataUrl, &out.ModelDataUrl + *out = new(string) + **out = **in + } + if in.ModelPackageName != nil { + in, out := &in.ModelPackageName, &out.ModelPackageName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerDefinition. +func (in *ContainerDefinition) DeepCopy() *ContainerDefinition { + if in == nil { + return nil + } + out := new(ContainerDefinition) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContinuousParameterRange) DeepCopyInto(out *ContinuousParameterRange) { + *out = *in + if in.MaxValue != nil { + in, out := &in.MaxValue, &out.MaxValue + *out = new(string) + **out = **in + } + if in.MinValue != nil { + in, out := &in.MinValue, &out.MinValue + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousParameterRange. +func (in *ContinuousParameterRange) DeepCopy() *ContinuousParameterRange { + if in == nil { + return nil + } + out := new(ContinuousParameterRange) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataProcessing) DeepCopyInto(out *DataProcessing) { + *out = *in + if in.InputFilter != nil { + in, out := &in.InputFilter, &out.InputFilter + *out = new(string) + **out = **in + } + if in.OutputFilter != nil { + in, out := &in.OutputFilter, &out.OutputFilter + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataProcessing. +func (in *DataProcessing) DeepCopy() *DataProcessing { + if in == nil { + return nil + } + out := new(DataProcessing) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataSource) DeepCopyInto(out *DataSource) { + *out = *in + if in.FileSystemDataSource != nil { + in, out := &in.FileSystemDataSource, &out.FileSystemDataSource + *out = new(FileSystemDataSource) + (*in).DeepCopyInto(*out) + } + if in.S3DataSource != nil { + in, out := &in.S3DataSource, &out.S3DataSource + *out = new(S3DataSource) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSource. +func (in *DataSource) DeepCopy() *DataSource { + if in == nil { + return nil + } + out := new(DataSource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DebugHookConfig) DeepCopyInto(out *DebugHookConfig) { + *out = *in + if in.LocalPath != nil { + in, out := &in.LocalPath, &out.LocalPath + *out = new(string) + **out = **in + } + if in.S3OutputPath != nil { + in, out := &in.S3OutputPath, &out.S3OutputPath + *out = new(string) + **out = **in + } + if in.HookParameters != nil { + in, out := &in.HookParameters, &out.HookParameters + *out = make([]*KeyValuePair, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(KeyValuePair) + **out = **in + } + } + } + if in.CollectionConfigurations != nil { + in, out := &in.CollectionConfigurations, &out.CollectionConfigurations + *out = make([]*CollectionConfiguration, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(CollectionConfiguration) + (*in).DeepCopyInto(*out) + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DebugHookConfig. +func (in *DebugHookConfig) DeepCopy() *DebugHookConfig { + if in == nil { + return nil + } + out := new(DebugHookConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DebugRuleConfiguration) DeepCopyInto(out *DebugRuleConfiguration) { + *out = *in + if in.RuleConfigurationName != nil { + in, out := &in.RuleConfigurationName, &out.RuleConfigurationName + *out = new(string) + **out = **in + } + if in.LocalPath != nil { + in, out := &in.LocalPath, &out.LocalPath + *out = new(string) + **out = **in + } + if in.S3OutputPath != nil { + in, out := &in.S3OutputPath, &out.S3OutputPath + *out = new(string) + **out = **in + } + if in.RuleEvaluatorImage != nil { + in, out := &in.RuleEvaluatorImage, &out.RuleEvaluatorImage + *out = new(string) + **out = **in + } + if in.VolumeSizeInGB != nil { + in, out := &in.VolumeSizeInGB, &out.VolumeSizeInGB + *out = new(int64) + **out = **in + } + if in.RuleParameters != nil { + in, out := &in.RuleParameters, &out.RuleParameters + *out = make([]*KeyValuePair, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(KeyValuePair) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DebugRuleConfiguration. +func (in *DebugRuleConfiguration) DeepCopy() *DebugRuleConfiguration { + if in == nil { + return nil + } + out := new(DebugRuleConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DebugRuleEvaluationStatus) DeepCopyInto(out *DebugRuleEvaluationStatus) { + *out = *in + if in.LastModifiedTime != nil { + in, out := &in.LastModifiedTime, &out.LastModifiedTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } + if in.RuleConfigurationName != nil { + in, out := &in.RuleConfigurationName, &out.RuleConfigurationName + *out = new(string) + **out = **in + } + if in.RuleEvaluationJobArn != nil { + in, out := &in.RuleEvaluationJobArn, &out.RuleEvaluationJobArn + *out = new(string) + **out = **in + } + if in.RuleEvaluationStatus != nil { + in, out := &in.RuleEvaluationStatus, &out.RuleEvaluationStatus + *out = new(string) + **out = **in + } + if in.StatusDetail != nil { + in, out := &in.StatusDetail, &out.StatusDetail + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DebugRuleEvaluationStatus. +func (in *DebugRuleEvaluationStatus) DeepCopy() *DebugRuleEvaluationStatus { + if in == nil { + return nil + } + out := new(DebugRuleEvaluationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeployedImage) DeepCopyInto(out *DeployedImage) { + *out = *in + if in.ResolutionTime != nil { + in, out := &in.ResolutionTime, &out.ResolutionTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } + if in.ResolvedImage != nil { + in, out := &in.ResolvedImage, &out.ResolvedImage + *out = new(string) + **out = **in + } + if in.SpecifiedImage != nil { + in, out := &in.SpecifiedImage, &out.SpecifiedImage + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployedImage. +func (in *DeployedImage) DeepCopy() *DeployedImage { + if in == nil { + return nil + } + out := new(DeployedImage) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FileSystemDataSource) DeepCopyInto(out *FileSystemDataSource) { + *out = *in + if in.DirectoryPath != nil { + in, out := &in.DirectoryPath, &out.DirectoryPath + *out = new(string) + **out = **in + } + if in.FileSystemAccessMode != nil { + in, out := &in.FileSystemAccessMode, &out.FileSystemAccessMode + *out = new(string) + **out = **in + } + if in.FileSystemId != nil { + in, out := &in.FileSystemId, &out.FileSystemId + *out = new(string) + **out = **in + } + if in.FileSystemType != nil { + in, out := &in.FileSystemType, &out.FileSystemType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemDataSource. +func (in *FileSystemDataSource) DeepCopy() *FileSystemDataSource { + if in == nil { + return nil + } + out := new(FileSystemDataSource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FinalHyperParameterTuningJobObjectiveMetric) DeepCopyInto(out *FinalHyperParameterTuningJobObjectiveMetric) { + *out = *in + if in.MetricName != nil { + in, out := &in.MetricName, &out.MetricName + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FinalHyperParameterTuningJobObjectiveMetric. +func (in *FinalHyperParameterTuningJobObjectiveMetric) DeepCopy() *FinalHyperParameterTuningJobObjectiveMetric { + if in == nil { + return nil + } + out := new(FinalHyperParameterTuningJobObjectiveMetric) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HyperParameterAlgorithmSpecification) DeepCopyInto(out *HyperParameterAlgorithmSpecification) { + *out = *in + if in.AlgorithmName != nil { + in, out := &in.AlgorithmName, &out.AlgorithmName + *out = new(string) + **out = **in + } + if in.MetricDefinitions != nil { + in, out := &in.MetricDefinitions, &out.MetricDefinitions + *out = make([]MetricDefinition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TrainingImage != nil { + in, out := &in.TrainingImage, &out.TrainingImage + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperParameterAlgorithmSpecification. +func (in *HyperParameterAlgorithmSpecification) DeepCopy() *HyperParameterAlgorithmSpecification { + if in == nil { + return nil + } + out := new(HyperParameterAlgorithmSpecification) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HyperParameterTrainingJobDefinition) DeepCopyInto(out *HyperParameterTrainingJobDefinition) { + *out = *in + if in.AlgorithmSpecification != nil { + in, out := &in.AlgorithmSpecification, &out.AlgorithmSpecification + *out = new(HyperParameterAlgorithmSpecification) + (*in).DeepCopyInto(*out) + } + if in.EnableInterContainerTrafficEncryption != nil { + in, out := &in.EnableInterContainerTrafficEncryption, &out.EnableInterContainerTrafficEncryption + *out = new(bool) + **out = **in + } + if in.EnableNetworkIsolation != nil { + in, out := &in.EnableNetworkIsolation, &out.EnableNetworkIsolation + *out = new(bool) + **out = **in + } + if in.EnableManagedSpotTraining != nil { + in, out := &in.EnableManagedSpotTraining, &out.EnableManagedSpotTraining + *out = new(bool) + **out = **in + } + if in.InputDataConfig != nil { + in, out := &in.InputDataConfig, &out.InputDataConfig + *out = make([]Channel, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OutputDataConfig != nil { + in, out := &in.OutputDataConfig, &out.OutputDataConfig + *out = new(OutputDataConfig) + (*in).DeepCopyInto(*out) + } + if in.CheckpointConfig != nil { + in, out := &in.CheckpointConfig, &out.CheckpointConfig + *out = new(CheckpointConfig) + (*in).DeepCopyInto(*out) + } + if in.ResourceConfig != nil { + in, out := &in.ResourceConfig, &out.ResourceConfig + *out = new(ResourceConfig) + (*in).DeepCopyInto(*out) + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.StaticHyperParameters != nil { + in, out := &in.StaticHyperParameters, &out.StaticHyperParameters + *out = make([]*KeyValuePair, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(KeyValuePair) + **out = **in + } + } + } + if in.StoppingCondition != nil { + in, out := &in.StoppingCondition, &out.StoppingCondition + *out = new(StoppingCondition) + (*in).DeepCopyInto(*out) + } + if in.VpcConfig != nil { + in, out := &in.VpcConfig, &out.VpcConfig + *out = new(VpcConfig) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperParameterTrainingJobDefinition. +func (in *HyperParameterTrainingJobDefinition) DeepCopy() *HyperParameterTrainingJobDefinition { + if in == nil { + return nil + } + out := new(HyperParameterTrainingJobDefinition) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HyperParameterTrainingJobSummary) DeepCopyInto(out *HyperParameterTrainingJobSummary) { + *out = *in + if in.CreationTime != nil { + in, out := &in.CreationTime, &out.CreationTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } + if in.FailureReason != nil { + in, out := &in.FailureReason, &out.FailureReason + *out = new(string) + **out = **in + } + if in.FinalHyperParameterTuningJobObjectiveMetric != nil { + in, out := &in.FinalHyperParameterTuningJobObjectiveMetric, &out.FinalHyperParameterTuningJobObjectiveMetric + *out = new(FinalHyperParameterTuningJobObjectiveMetric) + (*in).DeepCopyInto(*out) + } + if in.TrainingEndTime != nil { + in, out := &in.TrainingEndTime, &out.TrainingEndTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } + if in.TrainingJobArn != nil { + in, out := &in.TrainingJobArn, &out.TrainingJobArn + *out = new(string) + **out = **in + } + if in.TrainingJobName != nil { + in, out := &in.TrainingJobName, &out.TrainingJobName + *out = new(string) + **out = **in + } + if in.TrainingStartTime != nil { + in, out := &in.TrainingStartTime, &out.TrainingStartTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } + if in.TunedHyperParameters != nil { + in, out := &in.TunedHyperParameters, &out.TunedHyperParameters + *out = make([]*KeyValuePair, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(KeyValuePair) + **out = **in + } + } + } + if in.TuningJobName != nil { + in, out := &in.TuningJobName, &out.TuningJobName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperParameterTrainingJobSummary. +func (in *HyperParameterTrainingJobSummary) DeepCopy() *HyperParameterTrainingJobSummary { + if in == nil { + return nil + } + out := new(HyperParameterTrainingJobSummary) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HyperParameterTuningJobConfig) DeepCopyInto(out *HyperParameterTuningJobConfig) { + *out = *in + if in.HyperParameterTuningJobObjective != nil { + in, out := &in.HyperParameterTuningJobObjective, &out.HyperParameterTuningJobObjective + *out = new(HyperParameterTuningJobObjective) + (*in).DeepCopyInto(*out) + } + if in.ParameterRanges != nil { + in, out := &in.ParameterRanges, &out.ParameterRanges + *out = new(ParameterRanges) + (*in).DeepCopyInto(*out) + } + if in.ResourceLimits != nil { + in, out := &in.ResourceLimits, &out.ResourceLimits + *out = new(ResourceLimits) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperParameterTuningJobConfig. +func (in *HyperParameterTuningJobConfig) DeepCopy() *HyperParameterTuningJobConfig { + if in == nil { + return nil + } + out := new(HyperParameterTuningJobConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HyperParameterTuningJobObjective) DeepCopyInto(out *HyperParameterTuningJobObjective) { + *out = *in + if in.MetricName != nil { + in, out := &in.MetricName, &out.MetricName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperParameterTuningJobObjective. +func (in *HyperParameterTuningJobObjective) DeepCopy() *HyperParameterTuningJobObjective { + if in == nil { + return nil + } + out := new(HyperParameterTuningJobObjective) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HyperParameterTuningJobWarmStartConfig) DeepCopyInto(out *HyperParameterTuningJobWarmStartConfig) { + *out = *in + if in.ParentHyperParameterTuningJobs != nil { + in, out := &in.ParentHyperParameterTuningJobs, &out.ParentHyperParameterTuningJobs + *out = make([]ParentHyperParameterTuningJob, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperParameterTuningJobWarmStartConfig. +func (in *HyperParameterTuningJobWarmStartConfig) DeepCopy() *HyperParameterTuningJobWarmStartConfig { + if in == nil { + return nil + } + out := new(HyperParameterTuningJobWarmStartConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegerParameterRange) DeepCopyInto(out *IntegerParameterRange) { + *out = *in + if in.MaxValue != nil { + in, out := &in.MaxValue, &out.MaxValue + *out = new(string) + **out = **in + } + if in.MinValue != nil { + in, out := &in.MinValue, &out.MinValue + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegerParameterRange. +func (in *IntegerParameterRange) DeepCopy() *IntegerParameterRange { + if in == nil { + return nil + } + out := new(IntegerParameterRange) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyValuePair) DeepCopyInto(out *KeyValuePair) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyValuePair. +func (in *KeyValuePair) DeepCopy() *KeyValuePair { + if in == nil { + return nil + } + out := new(KeyValuePair) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricDefinition) DeepCopyInto(out *MetricDefinition) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Regex != nil { + in, out := &in.Regex, &out.Regex + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricDefinition. +func (in *MetricDefinition) DeepCopy() *MetricDefinition { + if in == nil { + return nil + } + out := new(MetricDefinition) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Model) DeepCopyInto(out *Model) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Containers != nil { + in, out := &in.Containers, &out.Containers + *out = make([]*ContainerDefinition, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(ContainerDefinition) + (*in).DeepCopyInto(*out) + } + } + } + if in.PrimaryContainer != nil { + in, out := &in.PrimaryContainer, &out.PrimaryContainer + *out = new(string) + **out = **in + } + if in.ExecutionRoleArn != nil { + in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + *out = new(string) + **out = **in + } + if in.EnableNetworkIsolation != nil { + in, out := &in.EnableNetworkIsolation, &out.EnableNetworkIsolation + *out = new(bool) + **out = **in + } + if in.VpcConfig != nil { + in, out := &in.VpcConfig, &out.VpcConfig + *out = new(VpcConfig) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model. +func (in *Model) DeepCopy() *Model { + if in == nil { + return nil + } + out := new(Model) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutputDataConfig) DeepCopyInto(out *OutputDataConfig) { + *out = *in + if in.KmsKeyId != nil { + in, out := &in.KmsKeyId, &out.KmsKeyId + *out = new(string) + **out = **in + } + if in.S3OutputPath != nil { + in, out := &in.S3OutputPath, &out.S3OutputPath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputDataConfig. +func (in *OutputDataConfig) DeepCopy() *OutputDataConfig { + if in == nil { + return nil + } + out := new(OutputDataConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ParameterRanges) DeepCopyInto(out *ParameterRanges) { + *out = *in + if in.CategoricalParameterRanges != nil { + in, out := &in.CategoricalParameterRanges, &out.CategoricalParameterRanges + *out = make([]CategoricalParameterRange, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ContinuousParameterRanges != nil { + in, out := &in.ContinuousParameterRanges, &out.ContinuousParameterRanges + *out = make([]ContinuousParameterRange, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IntegerParameterRanges != nil { + in, out := &in.IntegerParameterRanges, &out.IntegerParameterRanges + *out = make([]IntegerParameterRange, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterRanges. +func (in *ParameterRanges) DeepCopy() *ParameterRanges { + if in == nil { + return nil + } + out := new(ParameterRanges) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ParentHyperParameterTuningJob) DeepCopyInto(out *ParentHyperParameterTuningJob) { + *out = *in + if in.HyperParameterTuningJobName != nil { + in, out := &in.HyperParameterTuningJobName, &out.HyperParameterTuningJobName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParentHyperParameterTuningJob. +func (in *ParentHyperParameterTuningJob) DeepCopy() *ParentHyperParameterTuningJob { + if in == nil { + return nil + } + out := new(ParentHyperParameterTuningJob) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProductionVariant) DeepCopyInto(out *ProductionVariant) { + *out = *in + if in.InitialInstanceCount != nil { + in, out := &in.InitialInstanceCount, &out.InitialInstanceCount + *out = new(int64) + **out = **in + } + if in.InitialVariantWeight != nil { + in, out := &in.InitialVariantWeight, &out.InitialVariantWeight + *out = new(int64) + **out = **in + } + if in.ModelName != nil { + in, out := &in.ModelName, &out.ModelName + *out = new(string) + **out = **in + } + if in.VariantName != nil { + in, out := &in.VariantName, &out.VariantName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionVariant. +func (in *ProductionVariant) DeepCopy() *ProductionVariant { + if in == nil { + return nil + } + out := new(ProductionVariant) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProductionVariantSummary) DeepCopyInto(out *ProductionVariantSummary) { + *out = *in + if in.CurrentInstanceCount != nil { + in, out := &in.CurrentInstanceCount, &out.CurrentInstanceCount + *out = new(int64) + **out = **in + } + if in.CurrentWeight != nil { + in, out := &in.CurrentWeight, &out.CurrentWeight + *out = new(int64) + **out = **in + } + if in.DeployedImages != nil { + in, out := &in.DeployedImages, &out.DeployedImages + *out = make([]DeployedImage, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DesiredInstanceCount != nil { + in, out := &in.DesiredInstanceCount, &out.DesiredInstanceCount + *out = new(int64) + **out = **in + } + if in.DesiredWeight != nil { + in, out := &in.DesiredWeight, &out.DesiredWeight + *out = new(int64) + **out = **in + } + if in.VariantName != nil { + in, out := &in.VariantName, &out.VariantName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionVariantSummary. +func (in *ProductionVariantSummary) DeepCopy() *ProductionVariantSummary { + if in == nil { + return nil + } + out := new(ProductionVariantSummary) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceConfig) DeepCopyInto(out *ResourceConfig) { + *out = *in + if in.InstanceCount != nil { + in, out := &in.InstanceCount, &out.InstanceCount + *out = new(int64) + **out = **in + } + if in.VolumeKmsKeyId != nil { + in, out := &in.VolumeKmsKeyId, &out.VolumeKmsKeyId + *out = new(string) + **out = **in + } + if in.VolumeSizeInGB != nil { + in, out := &in.VolumeSizeInGB, &out.VolumeSizeInGB + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceConfig. +func (in *ResourceConfig) DeepCopy() *ResourceConfig { + if in == nil { + return nil + } + out := new(ResourceConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceLimits) DeepCopyInto(out *ResourceLimits) { + *out = *in + if in.MaxNumberOfTrainingJobs != nil { + in, out := &in.MaxNumberOfTrainingJobs, &out.MaxNumberOfTrainingJobs + *out = new(int64) + **out = **in + } + if in.MaxParallelTrainingJobs != nil { + in, out := &in.MaxParallelTrainingJobs, &out.MaxParallelTrainingJobs + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceLimits. +func (in *ResourceLimits) DeepCopy() *ResourceLimits { + if in == nil { + return nil + } + out := new(ResourceLimits) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *S3DataSource) DeepCopyInto(out *S3DataSource) { + *out = *in + if in.AttributeNames != nil { + in, out := &in.AttributeNames, &out.AttributeNames + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.S3Uri != nil { + in, out := &in.S3Uri, &out.S3Uri + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3DataSource. +func (in *S3DataSource) DeepCopy() *S3DataSource { + if in == nil { + return nil + } + out := new(S3DataSource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShuffleConfig) DeepCopyInto(out *ShuffleConfig) { + *out = *in + if in.Seed != nil { + in, out := &in.Seed, &out.Seed + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShuffleConfig. +func (in *ShuffleConfig) DeepCopy() *ShuffleConfig { + if in == nil { + return nil + } + out := new(ShuffleConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StoppingCondition) DeepCopyInto(out *StoppingCondition) { + *out = *in + if in.MaxRuntimeInSeconds != nil { + in, out := &in.MaxRuntimeInSeconds, &out.MaxRuntimeInSeconds + *out = new(int64) + **out = **in + } + if in.MaxWaitTimeInSeconds != nil { + in, out := &in.MaxWaitTimeInSeconds, &out.MaxWaitTimeInSeconds + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoppingCondition. +func (in *StoppingCondition) DeepCopy() *StoppingCondition { + if in == nil { + return nil + } + out := new(StoppingCondition) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Tag) DeepCopyInto(out *Tag) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag. +func (in *Tag) DeepCopy() *Tag { + if in == nil { + return nil + } + out := new(Tag) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TensorBoardOutputConfig) DeepCopyInto(out *TensorBoardOutputConfig) { + *out = *in + if in.LocalPath != nil { + in, out := &in.LocalPath, &out.LocalPath + *out = new(string) + **out = **in + } + if in.S3OutputPath != nil { + in, out := &in.S3OutputPath, &out.S3OutputPath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardOutputConfig. +func (in *TensorBoardOutputConfig) DeepCopy() *TensorBoardOutputConfig { + if in == nil { + return nil + } + out := new(TensorBoardOutputConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrainingJobStatusCounters) DeepCopyInto(out *TrainingJobStatusCounters) { + *out = *in + if in.Completed != nil { + in, out := &in.Completed, &out.Completed + *out = new(int64) + **out = **in + } + if in.InProgress != nil { + in, out := &in.InProgress, &out.InProgress + *out = new(int64) + **out = **in + } + if in.NonRetryableError != nil { + in, out := &in.NonRetryableError, &out.NonRetryableError + *out = new(int64) + **out = **in + } + if in.RetryableError != nil { + in, out := &in.RetryableError, &out.RetryableError + *out = new(int64) + **out = **in + } + if in.TotalError != nil { + in, out := &in.TotalError, &out.TotalError + *out = new(int64) + **out = **in + } + if in.Stopped != nil { + in, out := &in.Stopped, &out.Stopped + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingJobStatusCounters. +func (in *TrainingJobStatusCounters) DeepCopy() *TrainingJobStatusCounters { + if in == nil { + return nil + } + out := new(TrainingJobStatusCounters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformDataSource) DeepCopyInto(out *TransformDataSource) { + *out = *in + if in.S3DataSource != nil { + in, out := &in.S3DataSource, &out.S3DataSource + *out = new(TransformS3DataSource) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformDataSource. +func (in *TransformDataSource) DeepCopy() *TransformDataSource { + if in == nil { + return nil + } + out := new(TransformDataSource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformInput) DeepCopyInto(out *TransformInput) { + *out = *in + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.DataSource != nil { + in, out := &in.DataSource, &out.DataSource + *out = new(TransformDataSource) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformInput. +func (in *TransformInput) DeepCopy() *TransformInput { + if in == nil { + return nil + } + out := new(TransformInput) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformOutput) DeepCopyInto(out *TransformOutput) { + *out = *in + if in.Accept != nil { + in, out := &in.Accept, &out.Accept + *out = new(string) + **out = **in + } + if in.KmsKeyId != nil { + in, out := &in.KmsKeyId, &out.KmsKeyId + *out = new(string) + **out = **in + } + if in.S3OutputPath != nil { + in, out := &in.S3OutputPath, &out.S3OutputPath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformOutput. +func (in *TransformOutput) DeepCopy() *TransformOutput { + if in == nil { + return nil + } + out := new(TransformOutput) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformResources) DeepCopyInto(out *TransformResources) { + *out = *in + if in.InstanceCount != nil { + in, out := &in.InstanceCount, &out.InstanceCount + *out = new(int64) + **out = **in + } + if in.VolumeKmsKeyId != nil { + in, out := &in.VolumeKmsKeyId, &out.VolumeKmsKeyId + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformResources. +func (in *TransformResources) DeepCopy() *TransformResources { + if in == nil { + return nil + } + out := new(TransformResources) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformS3DataSource) DeepCopyInto(out *TransformS3DataSource) { + *out = *in + if in.S3Uri != nil { + in, out := &in.S3Uri, &out.S3Uri + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformS3DataSource. +func (in *TransformS3DataSource) DeepCopy() *TransformS3DataSource { + if in == nil { + return nil + } + out := new(TransformS3DataSource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VpcConfig) DeepCopyInto(out *VpcConfig) { + *out = *in + if in.SecurityGroupIds != nil { + in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.Subnets != nil { + in, out := &in.Subnets, &out.Subnets + *out = make([]string, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcConfig. +func (in *VpcConfig) DeepCopy() *VpcConfig { + if in == nil { + return nil + } + out := new(VpcConfig) + in.DeepCopyInto(out) + return out +} diff --git a/api/v1/endpointconfig/zz_generated.deepcopy.go b/api/v1/endpointconfig/zz_generated.deepcopy.go new file mode 100644 index 00000000..69f05d72 --- /dev/null +++ b/api/v1/endpointconfig/zz_generated.deepcopy.go @@ -0,0 +1,145 @@ +// +build !ignore_autogenerated + +/* +Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// autogenerated by controller-gen object, do not modify manually + +package v1 + +import ( + common "github.com/aws/amazon-sagemaker-operator-for-k8s/api/v1/common" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointConfig) DeepCopyInto(out *EndpointConfig) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfig. +func (in *EndpointConfig) DeepCopy() *EndpointConfig { + if in == nil { + return nil + } + out := new(EndpointConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EndpointConfig) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointConfigList) DeepCopyInto(out *EndpointConfigList) { + *out = *in + out.TypeMeta = in.TypeMeta + out.ListMeta = in.ListMeta + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EndpointConfig, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigList. +func (in *EndpointConfigList) DeepCopy() *EndpointConfigList { + if in == nil { + return nil + } + out := new(EndpointConfigList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EndpointConfigList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointConfigSpec) DeepCopyInto(out *EndpointConfigSpec) { + *out = *in + if in.ProductionVariants != nil { + in, out := &in.ProductionVariants, &out.ProductionVariants + *out = make([]common.ProductionVariant, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make([]common.Tag, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SageMakerEndpoint != nil { + in, out := &in.SageMakerEndpoint, &out.SageMakerEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigSpec. +func (in *EndpointConfigSpec) DeepCopy() *EndpointConfigSpec { + if in == nil { + return nil + } + out := new(EndpointConfigSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointConfigStatus) DeepCopyInto(out *EndpointConfigStatus) { + *out = *in + if in.LastCheckTime != nil { + in, out := &in.LastCheckTime, &out.LastCheckTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigStatus. +func (in *EndpointConfigStatus) DeepCopy() *EndpointConfigStatus { + if in == nil { + return nil + } + out := new(EndpointConfigStatus) + in.DeepCopyInto(out) + return out +} diff --git a/api/v1/hostingdeployment/zz_generated.deepcopy.go b/api/v1/hostingdeployment/zz_generated.deepcopy.go new file mode 100644 index 00000000..d40a49a2 --- /dev/null +++ b/api/v1/hostingdeployment/zz_generated.deepcopy.go @@ -0,0 +1,189 @@ +// +build !ignore_autogenerated + +/* +Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// autogenerated by controller-gen object, do not modify manually + +package v1 + +import ( + common "github.com/aws/amazon-sagemaker-operator-for-k8s/api/v1/common" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostingDeployment) DeepCopyInto(out *HostingDeployment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingDeployment. +func (in *HostingDeployment) DeepCopy() *HostingDeployment { + if in == nil { + return nil + } + out := new(HostingDeployment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HostingDeployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostingDeploymentList) DeepCopyInto(out *HostingDeploymentList) { + *out = *in + out.TypeMeta = in.TypeMeta + out.ListMeta = in.ListMeta + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HostingDeployment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingDeploymentList. +func (in *HostingDeploymentList) DeepCopy() *HostingDeploymentList { + if in == nil { + return nil + } + out := new(HostingDeploymentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HostingDeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostingDeploymentSpec) DeepCopyInto(out *HostingDeploymentSpec) { + *out = *in + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SageMakerEndpoint != nil { + in, out := &in.SageMakerEndpoint, &out.SageMakerEndpoint + *out = new(string) + **out = **in + } + if in.KmsKeyId != nil { + in, out := &in.KmsKeyId, &out.KmsKeyId + *out = new(string) + **out = **in + } + if in.ProductionVariants != nil { + in, out := &in.ProductionVariants, &out.ProductionVariants + *out = make([]common.ProductionVariant, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Models != nil { + in, out := &in.Models, &out.Models + *out = make([]common.Model, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make([]common.Tag, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingDeploymentSpec. +func (in *HostingDeploymentSpec) DeepCopy() *HostingDeploymentSpec { + if in == nil { + return nil + } + out := new(HostingDeploymentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostingDeploymentStatus) DeepCopyInto(out *HostingDeploymentStatus) { + *out = *in + if in.CreationTime != nil { + in, out := &in.CreationTime, &out.CreationTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } + if in.LastCheckTime != nil { + in, out := &in.LastCheckTime, &out.LastCheckTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } + if in.LastModifiedTime != nil { + in, out := &in.LastModifiedTime, &out.LastModifiedTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } + if in.ProductionVariants != nil { + in, out := &in.ProductionVariants, &out.ProductionVariants + *out = make([]*common.ProductionVariantSummary, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(common.ProductionVariantSummary) + (*in).DeepCopyInto(*out) + } + } + } + if in.ModelNames != nil { + in, out := &in.ModelNames, &out.ModelNames + *out = make([]*common.KeyValuePair, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(common.KeyValuePair) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingDeploymentStatus. +func (in *HostingDeploymentStatus) DeepCopy() *HostingDeploymentStatus { + if in == nil { + return nil + } + out := new(HostingDeploymentStatus) + in.DeepCopyInto(out) + return out +} diff --git a/api/v1/hyperparametertuningjob/zz_generated.deepcopy.go b/api/v1/hyperparametertuningjob/zz_generated.deepcopy.go new file mode 100644 index 00000000..76d0ffcb --- /dev/null +++ b/api/v1/hyperparametertuningjob/zz_generated.deepcopy.go @@ -0,0 +1,168 @@ +// +build !ignore_autogenerated + +/* +Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// autogenerated by controller-gen object, do not modify manually + +package v1 + +import ( + common "github.com/aws/amazon-sagemaker-operator-for-k8s/api/v1/common" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HyperparameterTuningJob) DeepCopyInto(out *HyperparameterTuningJob) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperparameterTuningJob. +func (in *HyperparameterTuningJob) DeepCopy() *HyperparameterTuningJob { + if in == nil { + return nil + } + out := new(HyperparameterTuningJob) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HyperparameterTuningJob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HyperparameterTuningJobList) DeepCopyInto(out *HyperparameterTuningJobList) { + *out = *in + out.TypeMeta = in.TypeMeta + out.ListMeta = in.ListMeta + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HyperparameterTuningJob, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperparameterTuningJobList. +func (in *HyperparameterTuningJobList) DeepCopy() *HyperparameterTuningJobList { + if in == nil { + return nil + } + out := new(HyperparameterTuningJobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HyperparameterTuningJobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HyperparameterTuningJobSpec) DeepCopyInto(out *HyperparameterTuningJobSpec) { + *out = *in + if in.HyperParameterTuningJobConfig != nil { + in, out := &in.HyperParameterTuningJobConfig, &out.HyperParameterTuningJobConfig + *out = new(common.HyperParameterTuningJobConfig) + (*in).DeepCopyInto(*out) + } + if in.HyperParameterTuningJobName != nil { + in, out := &in.HyperParameterTuningJobName, &out.HyperParameterTuningJobName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make([]common.Tag, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TrainingJobDefinition != nil { + in, out := &in.TrainingJobDefinition, &out.TrainingJobDefinition + *out = new(common.HyperParameterTrainingJobDefinition) + (*in).DeepCopyInto(*out) + } + if in.WarmStartConfig != nil { + in, out := &in.WarmStartConfig, &out.WarmStartConfig + *out = new(common.HyperParameterTuningJobWarmStartConfig) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SageMakerEndpoint != nil { + in, out := &in.SageMakerEndpoint, &out.SageMakerEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperparameterTuningJobSpec. +func (in *HyperparameterTuningJobSpec) DeepCopy() *HyperparameterTuningJobSpec { + if in == nil { + return nil + } + out := new(HyperparameterTuningJobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HyperparameterTuningJobStatus) DeepCopyInto(out *HyperparameterTuningJobStatus) { + *out = *in + if in.BestTrainingJob != nil { + in, out := &in.BestTrainingJob, &out.BestTrainingJob + *out = new(common.HyperParameterTrainingJobSummary) + (*in).DeepCopyInto(*out) + } + if in.LastCheckTime != nil { + in, out := &in.LastCheckTime, &out.LastCheckTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } + if in.TrainingJobStatusCounters != nil { + in, out := &in.TrainingJobStatusCounters, &out.TrainingJobStatusCounters + *out = new(common.TrainingJobStatusCounters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperparameterTuningJobStatus. +func (in *HyperparameterTuningJobStatus) DeepCopy() *HyperparameterTuningJobStatus { + if in == nil { + return nil + } + out := new(HyperparameterTuningJobStatus) + in.DeepCopyInto(out) + return out +} diff --git a/api/v1/model/zz_generated.deepcopy.go b/api/v1/model/zz_generated.deepcopy.go new file mode 100644 index 00000000..052c3781 --- /dev/null +++ b/api/v1/model/zz_generated.deepcopy.go @@ -0,0 +1,169 @@ +// +build !ignore_autogenerated + +/* +Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// autogenerated by controller-gen object, do not modify manually + +package v1 + +import ( + common "github.com/aws/amazon-sagemaker-operator-for-k8s/api/v1/common" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Model) DeepCopyInto(out *Model) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model. +func (in *Model) DeepCopy() *Model { + if in == nil { + return nil + } + out := new(Model) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Model) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelList) DeepCopyInto(out *ModelList) { + *out = *in + out.TypeMeta = in.TypeMeta + out.ListMeta = in.ListMeta + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Model, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelList. +func (in *ModelList) DeepCopy() *ModelList { + if in == nil { + return nil + } + out := new(ModelList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ModelList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelSpec) DeepCopyInto(out *ModelSpec) { + *out = *in + if in.Containers != nil { + in, out := &in.Containers, &out.Containers + *out = make([]*common.ContainerDefinition, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(common.ContainerDefinition) + (*in).DeepCopyInto(*out) + } + } + } + if in.EnableNetworkIsolation != nil { + in, out := &in.EnableNetworkIsolation, &out.EnableNetworkIsolation + *out = new(bool) + **out = **in + } + if in.ExecutionRoleArn != nil { + in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + *out = new(string) + **out = **in + } + if in.PrimaryContainer != nil { + in, out := &in.PrimaryContainer, &out.PrimaryContainer + *out = new(common.ContainerDefinition) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make([]common.Tag, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VpcConfig != nil { + in, out := &in.VpcConfig, &out.VpcConfig + *out = new(common.VpcConfig) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SageMakerEndpoint != nil { + in, out := &in.SageMakerEndpoint, &out.SageMakerEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSpec. +func (in *ModelSpec) DeepCopy() *ModelSpec { + if in == nil { + return nil + } + out := new(ModelSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelStatus) DeepCopyInto(out *ModelStatus) { + *out = *in + if in.LastCheckTime != nil { + in, out := &in.LastCheckTime, &out.LastCheckTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelStatus. +func (in *ModelStatus) DeepCopy() *ModelStatus { + if in == nil { + return nil + } + out := new(ModelStatus) + in.DeepCopyInto(out) + return out +} diff --git a/api/v1/trainingjob/zz_generated.deepcopy.go b/api/v1/trainingjob/zz_generated.deepcopy.go new file mode 100644 index 00000000..5f5e3948 --- /dev/null +++ b/api/v1/trainingjob/zz_generated.deepcopy.go @@ -0,0 +1,239 @@ +// +build !ignore_autogenerated + +/* +Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// autogenerated by controller-gen object, do not modify manually + +package v1 + +import ( + common "github.com/aws/amazon-sagemaker-operator-for-k8s/api/v1/common" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrainingJob) DeepCopyInto(out *TrainingJob) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingJob. +func (in *TrainingJob) DeepCopy() *TrainingJob { + if in == nil { + return nil + } + out := new(TrainingJob) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TrainingJob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrainingJobList) DeepCopyInto(out *TrainingJobList) { + *out = *in + out.TypeMeta = in.TypeMeta + out.ListMeta = in.ListMeta + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TrainingJob, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingJobList. +func (in *TrainingJobList) DeepCopy() *TrainingJobList { + if in == nil { + return nil + } + out := new(TrainingJobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TrainingJobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrainingJobSpec) DeepCopyInto(out *TrainingJobSpec) { + *out = *in + if in.AlgorithmSpecification != nil { + in, out := &in.AlgorithmSpecification, &out.AlgorithmSpecification + *out = new(common.AlgorithmSpecification) + (*in).DeepCopyInto(*out) + } + if in.EnableInterContainerTrafficEncryption != nil { + in, out := &in.EnableInterContainerTrafficEncryption, &out.EnableInterContainerTrafficEncryption + *out = new(bool) + **out = **in + } + if in.EnableNetworkIsolation != nil { + in, out := &in.EnableNetworkIsolation, &out.EnableNetworkIsolation + *out = new(bool) + **out = **in + } + if in.EnableManagedSpotTraining != nil { + in, out := &in.EnableManagedSpotTraining, &out.EnableManagedSpotTraining + *out = new(bool) + **out = **in + } + if in.HyperParameters != nil { + in, out := &in.HyperParameters, &out.HyperParameters + *out = make([]*common.KeyValuePair, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(common.KeyValuePair) + **out = **in + } + } + } + if in.InputDataConfig != nil { + in, out := &in.InputDataConfig, &out.InputDataConfig + *out = make([]common.Channel, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OutputDataConfig != nil { + in, out := &in.OutputDataConfig, &out.OutputDataConfig + *out = new(common.OutputDataConfig) + (*in).DeepCopyInto(*out) + } + if in.CheckpointConfig != nil { + in, out := &in.CheckpointConfig, &out.CheckpointConfig + *out = new(common.CheckpointConfig) + (*in).DeepCopyInto(*out) + } + if in.ResourceConfig != nil { + in, out := &in.ResourceConfig, &out.ResourceConfig + *out = new(common.ResourceConfig) + (*in).DeepCopyInto(*out) + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SageMakerEndpoint != nil { + in, out := &in.SageMakerEndpoint, &out.SageMakerEndpoint + *out = new(string) + **out = **in + } + if in.StoppingCondition != nil { + in, out := &in.StoppingCondition, &out.StoppingCondition + *out = new(common.StoppingCondition) + (*in).DeepCopyInto(*out) + } + if in.DebugRuleConfigurations != nil { + in, out := &in.DebugRuleConfigurations, &out.DebugRuleConfigurations + *out = make([]*common.DebugRuleConfiguration, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(common.DebugRuleConfiguration) + (*in).DeepCopyInto(*out) + } + } + } + if in.DebugHookConfig != nil { + in, out := &in.DebugHookConfig, &out.DebugHookConfig + *out = new(common.DebugHookConfig) + (*in).DeepCopyInto(*out) + } + if in.TensorBoardOutputConfig != nil { + in, out := &in.TensorBoardOutputConfig, &out.TensorBoardOutputConfig + *out = new(common.TensorBoardOutputConfig) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make([]common.Tag, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TrainingJobName != nil { + in, out := &in.TrainingJobName, &out.TrainingJobName + *out = new(string) + **out = **in + } + if in.VpcConfig != nil { + in, out := &in.VpcConfig, &out.VpcConfig + *out = new(common.VpcConfig) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingJobSpec. +func (in *TrainingJobSpec) DeepCopy() *TrainingJobSpec { + if in == nil { + return nil + } + out := new(TrainingJobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrainingJobStatus) DeepCopyInto(out *TrainingJobStatus) { + *out = *in + if in.LastCheckTime != nil { + in, out := &in.LastCheckTime, &out.LastCheckTime + *out = new(metav1.Time) + (*in).DeepCopyInto(*out) + } + if in.DebugRuleEvaluationStatuses != nil { + in, out := &in.DebugRuleEvaluationStatuses, &out.DebugRuleEvaluationStatuses + *out = make([]common.DebugRuleEvaluationStatus, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingJobStatus. +func (in *TrainingJobStatus) DeepCopy() *TrainingJobStatus { + if in == nil { + return nil + } + out := new(TrainingJobStatus) + in.DeepCopyInto(out) + return out +}