in kubernetes/api/v1alpha1/zz_generated.deepcopy.go [80:108]
func (in *ElasticJobSpec) DeepCopyInto(out *ElasticJobSpec) {
*out = *in
in.RunPolicy.DeepCopyInto(&out.RunPolicy)
if in.ReplicaSpecs != nil {
in, out := &in.ReplicaSpecs, &out.ReplicaSpecs
*out = make(map[v1.ReplicaType]*v1.ReplicaSpec, len(*in))
for key, val := range *in {
var outVal *v1.ReplicaSpec
if val == nil {
(*out)[key] = nil
} else {
in, out := &val, &outVal
*out = new(v1.ReplicaSpec)
(*in).DeepCopyInto(*out)
}
(*out)[key] = outVal
}
}
if in.MinReplicas != nil {
in, out := &in.MinReplicas, &out.MinReplicas
*out = new(int32)
**out = **in
}
if in.MaxReplicas != nil {
in, out := &in.MaxReplicas, &out.MaxReplicas
*out = new(int32)
**out = **in
}
}