func()

in api/v1/model/zz_generated.deepcopy.go [88:138]


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
	}
}