github.com/kubeflow/training-operator@v1.7.0/pkg/apis/kubeflow.org/v1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Copyright 2023 The Kubeflow Authors
     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  // Code generated by controller-gen. DO NOT EDIT.
    19  
    20  package v1
    21  
    22  import (
    23  	"k8s.io/api/autoscaling/v2"
    24  	corev1 "k8s.io/api/core/v1"
    25  	"k8s.io/apimachinery/pkg/api/resource"
    26  	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    27  	"k8s.io/apimachinery/pkg/runtime"
    28  )
    29  
    30  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    31  func (in *ElasticPolicy) DeepCopyInto(out *ElasticPolicy) {
    32  	*out = *in
    33  	if in.MinReplicas != nil {
    34  		in, out := &in.MinReplicas, &out.MinReplicas
    35  		*out = new(int32)
    36  		**out = **in
    37  	}
    38  	if in.MaxReplicas != nil {
    39  		in, out := &in.MaxReplicas, &out.MaxReplicas
    40  		*out = new(int32)
    41  		**out = **in
    42  	}
    43  	if in.RDZVBackend != nil {
    44  		in, out := &in.RDZVBackend, &out.RDZVBackend
    45  		*out = new(RDZVBackend)
    46  		**out = **in
    47  	}
    48  	if in.RDZVPort != nil {
    49  		in, out := &in.RDZVPort, &out.RDZVPort
    50  		*out = new(int32)
    51  		**out = **in
    52  	}
    53  	if in.RDZVHost != nil {
    54  		in, out := &in.RDZVHost, &out.RDZVHost
    55  		*out = new(string)
    56  		**out = **in
    57  	}
    58  	if in.RDZVID != nil {
    59  		in, out := &in.RDZVID, &out.RDZVID
    60  		*out = new(string)
    61  		**out = **in
    62  	}
    63  	if in.RDZVConf != nil {
    64  		in, out := &in.RDZVConf, &out.RDZVConf
    65  		*out = make([]RDZVConf, len(*in))
    66  		copy(*out, *in)
    67  	}
    68  	if in.Standalone != nil {
    69  		in, out := &in.Standalone, &out.Standalone
    70  		*out = new(bool)
    71  		**out = **in
    72  	}
    73  	if in.NProcPerNode != nil {
    74  		in, out := &in.NProcPerNode, &out.NProcPerNode
    75  		*out = new(int32)
    76  		**out = **in
    77  	}
    78  	if in.MaxRestarts != nil {
    79  		in, out := &in.MaxRestarts, &out.MaxRestarts
    80  		*out = new(int32)
    81  		**out = **in
    82  	}
    83  	if in.Metrics != nil {
    84  		in, out := &in.Metrics, &out.Metrics
    85  		*out = make([]v2.MetricSpec, len(*in))
    86  		for i := range *in {
    87  			(*in)[i].DeepCopyInto(&(*out)[i])
    88  		}
    89  	}
    90  }
    91  
    92  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticPolicy.
    93  func (in *ElasticPolicy) DeepCopy() *ElasticPolicy {
    94  	if in == nil {
    95  		return nil
    96  	}
    97  	out := new(ElasticPolicy)
    98  	in.DeepCopyInto(out)
    99  	return out
   100  }
   101  
   102  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   103  func (in *JobCondition) DeepCopyInto(out *JobCondition) {
   104  	*out = *in
   105  	in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
   106  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
   107  }
   108  
   109  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
   110  func (in *JobCondition) DeepCopy() *JobCondition {
   111  	if in == nil {
   112  		return nil
   113  	}
   114  	out := new(JobCondition)
   115  	in.DeepCopyInto(out)
   116  	return out
   117  }
   118  
   119  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   120  func (in *JobStatus) DeepCopyInto(out *JobStatus) {
   121  	*out = *in
   122  	if in.Conditions != nil {
   123  		in, out := &in.Conditions, &out.Conditions
   124  		*out = make([]JobCondition, len(*in))
   125  		for i := range *in {
   126  			(*in)[i].DeepCopyInto(&(*out)[i])
   127  		}
   128  	}
   129  	if in.ReplicaStatuses != nil {
   130  		in, out := &in.ReplicaStatuses, &out.ReplicaStatuses
   131  		*out = make(map[ReplicaType]*ReplicaStatus, len(*in))
   132  		for key, val := range *in {
   133  			var outVal *ReplicaStatus
   134  			if val == nil {
   135  				(*out)[key] = nil
   136  			} else {
   137  				in, out := &val, &outVal
   138  				*out = new(ReplicaStatus)
   139  				(*in).DeepCopyInto(*out)
   140  			}
   141  			(*out)[key] = outVal
   142  		}
   143  	}
   144  	if in.StartTime != nil {
   145  		in, out := &in.StartTime, &out.StartTime
   146  		*out = (*in).DeepCopy()
   147  	}
   148  	if in.CompletionTime != nil {
   149  		in, out := &in.CompletionTime, &out.CompletionTime
   150  		*out = (*in).DeepCopy()
   151  	}
   152  	if in.LastReconcileTime != nil {
   153  		in, out := &in.LastReconcileTime, &out.LastReconcileTime
   154  		*out = (*in).DeepCopy()
   155  	}
   156  }
   157  
   158  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
   159  func (in *JobStatus) DeepCopy() *JobStatus {
   160  	if in == nil {
   161  		return nil
   162  	}
   163  	out := new(JobStatus)
   164  	in.DeepCopyInto(out)
   165  	return out
   166  }
   167  
   168  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   169  func (in *MPIJob) DeepCopyInto(out *MPIJob) {
   170  	*out = *in
   171  	out.TypeMeta = in.TypeMeta
   172  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   173  	in.Spec.DeepCopyInto(&out.Spec)
   174  	in.Status.DeepCopyInto(&out.Status)
   175  }
   176  
   177  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MPIJob.
   178  func (in *MPIJob) DeepCopy() *MPIJob {
   179  	if in == nil {
   180  		return nil
   181  	}
   182  	out := new(MPIJob)
   183  	in.DeepCopyInto(out)
   184  	return out
   185  }
   186  
   187  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   188  func (in *MPIJob) DeepCopyObject() runtime.Object {
   189  	if c := in.DeepCopy(); c != nil {
   190  		return c
   191  	}
   192  	return nil
   193  }
   194  
   195  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   196  func (in *MPIJobList) DeepCopyInto(out *MPIJobList) {
   197  	*out = *in
   198  	out.TypeMeta = in.TypeMeta
   199  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   200  	if in.Items != nil {
   201  		in, out := &in.Items, &out.Items
   202  		*out = make([]MPIJob, len(*in))
   203  		for i := range *in {
   204  			(*in)[i].DeepCopyInto(&(*out)[i])
   205  		}
   206  	}
   207  }
   208  
   209  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MPIJobList.
   210  func (in *MPIJobList) DeepCopy() *MPIJobList {
   211  	if in == nil {
   212  		return nil
   213  	}
   214  	out := new(MPIJobList)
   215  	in.DeepCopyInto(out)
   216  	return out
   217  }
   218  
   219  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   220  func (in *MPIJobList) DeepCopyObject() runtime.Object {
   221  	if c := in.DeepCopy(); c != nil {
   222  		return c
   223  	}
   224  	return nil
   225  }
   226  
   227  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   228  func (in *MPIJobSpec) DeepCopyInto(out *MPIJobSpec) {
   229  	*out = *in
   230  	if in.SlotsPerWorker != nil {
   231  		in, out := &in.SlotsPerWorker, &out.SlotsPerWorker
   232  		*out = new(int32)
   233  		**out = **in
   234  	}
   235  	if in.CleanPodPolicy != nil {
   236  		in, out := &in.CleanPodPolicy, &out.CleanPodPolicy
   237  		*out = new(CleanPodPolicy)
   238  		**out = **in
   239  	}
   240  	if in.MPIReplicaSpecs != nil {
   241  		in, out := &in.MPIReplicaSpecs, &out.MPIReplicaSpecs
   242  		*out = make(map[ReplicaType]*ReplicaSpec, len(*in))
   243  		for key, val := range *in {
   244  			var outVal *ReplicaSpec
   245  			if val == nil {
   246  				(*out)[key] = nil
   247  			} else {
   248  				in, out := &val, &outVal
   249  				*out = new(ReplicaSpec)
   250  				(*in).DeepCopyInto(*out)
   251  			}
   252  			(*out)[key] = outVal
   253  		}
   254  	}
   255  	in.RunPolicy.DeepCopyInto(&out.RunPolicy)
   256  }
   257  
   258  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MPIJobSpec.
   259  func (in *MPIJobSpec) DeepCopy() *MPIJobSpec {
   260  	if in == nil {
   261  		return nil
   262  	}
   263  	out := new(MPIJobSpec)
   264  	in.DeepCopyInto(out)
   265  	return out
   266  }
   267  
   268  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   269  func (in *MXJob) DeepCopyInto(out *MXJob) {
   270  	*out = *in
   271  	out.TypeMeta = in.TypeMeta
   272  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   273  	in.Spec.DeepCopyInto(&out.Spec)
   274  	in.Status.DeepCopyInto(&out.Status)
   275  }
   276  
   277  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MXJob.
   278  func (in *MXJob) DeepCopy() *MXJob {
   279  	if in == nil {
   280  		return nil
   281  	}
   282  	out := new(MXJob)
   283  	in.DeepCopyInto(out)
   284  	return out
   285  }
   286  
   287  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   288  func (in *MXJob) DeepCopyObject() runtime.Object {
   289  	if c := in.DeepCopy(); c != nil {
   290  		return c
   291  	}
   292  	return nil
   293  }
   294  
   295  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   296  func (in *MXJobList) DeepCopyInto(out *MXJobList) {
   297  	*out = *in
   298  	out.TypeMeta = in.TypeMeta
   299  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   300  	if in.Items != nil {
   301  		in, out := &in.Items, &out.Items
   302  		*out = make([]MXJob, len(*in))
   303  		for i := range *in {
   304  			(*in)[i].DeepCopyInto(&(*out)[i])
   305  		}
   306  	}
   307  }
   308  
   309  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MXJobList.
   310  func (in *MXJobList) DeepCopy() *MXJobList {
   311  	if in == nil {
   312  		return nil
   313  	}
   314  	out := new(MXJobList)
   315  	in.DeepCopyInto(out)
   316  	return out
   317  }
   318  
   319  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   320  func (in *MXJobList) DeepCopyObject() runtime.Object {
   321  	if c := in.DeepCopy(); c != nil {
   322  		return c
   323  	}
   324  	return nil
   325  }
   326  
   327  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   328  func (in *MXJobSpec) DeepCopyInto(out *MXJobSpec) {
   329  	*out = *in
   330  	in.RunPolicy.DeepCopyInto(&out.RunPolicy)
   331  	if in.MXReplicaSpecs != nil {
   332  		in, out := &in.MXReplicaSpecs, &out.MXReplicaSpecs
   333  		*out = make(map[ReplicaType]*ReplicaSpec, len(*in))
   334  		for key, val := range *in {
   335  			var outVal *ReplicaSpec
   336  			if val == nil {
   337  				(*out)[key] = nil
   338  			} else {
   339  				in, out := &val, &outVal
   340  				*out = new(ReplicaSpec)
   341  				(*in).DeepCopyInto(*out)
   342  			}
   343  			(*out)[key] = outVal
   344  		}
   345  	}
   346  }
   347  
   348  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MXJobSpec.
   349  func (in *MXJobSpec) DeepCopy() *MXJobSpec {
   350  	if in == nil {
   351  		return nil
   352  	}
   353  	out := new(MXJobSpec)
   354  	in.DeepCopyInto(out)
   355  	return out
   356  }
   357  
   358  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   359  func (in *MXJobStatus) DeepCopyInto(out *MXJobStatus) {
   360  	*out = *in
   361  }
   362  
   363  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MXJobStatus.
   364  func (in *MXJobStatus) DeepCopy() *MXJobStatus {
   365  	if in == nil {
   366  		return nil
   367  	}
   368  	out := new(MXJobStatus)
   369  	in.DeepCopyInto(out)
   370  	return out
   371  }
   372  
   373  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   374  func (in *PaddleElasticPolicy) DeepCopyInto(out *PaddleElasticPolicy) {
   375  	*out = *in
   376  	if in.MinReplicas != nil {
   377  		in, out := &in.MinReplicas, &out.MinReplicas
   378  		*out = new(int32)
   379  		**out = **in
   380  	}
   381  	if in.MaxReplicas != nil {
   382  		in, out := &in.MaxReplicas, &out.MaxReplicas
   383  		*out = new(int32)
   384  		**out = **in
   385  	}
   386  	if in.MaxRestarts != nil {
   387  		in, out := &in.MaxRestarts, &out.MaxRestarts
   388  		*out = new(int32)
   389  		**out = **in
   390  	}
   391  	if in.Metrics != nil {
   392  		in, out := &in.Metrics, &out.Metrics
   393  		*out = make([]v2.MetricSpec, len(*in))
   394  		for i := range *in {
   395  			(*in)[i].DeepCopyInto(&(*out)[i])
   396  		}
   397  	}
   398  }
   399  
   400  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PaddleElasticPolicy.
   401  func (in *PaddleElasticPolicy) DeepCopy() *PaddleElasticPolicy {
   402  	if in == nil {
   403  		return nil
   404  	}
   405  	out := new(PaddleElasticPolicy)
   406  	in.DeepCopyInto(out)
   407  	return out
   408  }
   409  
   410  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   411  func (in *PaddleJob) DeepCopyInto(out *PaddleJob) {
   412  	*out = *in
   413  	out.TypeMeta = in.TypeMeta
   414  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   415  	in.Spec.DeepCopyInto(&out.Spec)
   416  	in.Status.DeepCopyInto(&out.Status)
   417  }
   418  
   419  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PaddleJob.
   420  func (in *PaddleJob) DeepCopy() *PaddleJob {
   421  	if in == nil {
   422  		return nil
   423  	}
   424  	out := new(PaddleJob)
   425  	in.DeepCopyInto(out)
   426  	return out
   427  }
   428  
   429  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   430  func (in *PaddleJob) DeepCopyObject() runtime.Object {
   431  	if c := in.DeepCopy(); c != nil {
   432  		return c
   433  	}
   434  	return nil
   435  }
   436  
   437  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   438  func (in *PaddleJobList) DeepCopyInto(out *PaddleJobList) {
   439  	*out = *in
   440  	out.TypeMeta = in.TypeMeta
   441  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   442  	if in.Items != nil {
   443  		in, out := &in.Items, &out.Items
   444  		*out = make([]PaddleJob, len(*in))
   445  		for i := range *in {
   446  			(*in)[i].DeepCopyInto(&(*out)[i])
   447  		}
   448  	}
   449  }
   450  
   451  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PaddleJobList.
   452  func (in *PaddleJobList) DeepCopy() *PaddleJobList {
   453  	if in == nil {
   454  		return nil
   455  	}
   456  	out := new(PaddleJobList)
   457  	in.DeepCopyInto(out)
   458  	return out
   459  }
   460  
   461  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   462  func (in *PaddleJobList) DeepCopyObject() runtime.Object {
   463  	if c := in.DeepCopy(); c != nil {
   464  		return c
   465  	}
   466  	return nil
   467  }
   468  
   469  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   470  func (in *PaddleJobSpec) DeepCopyInto(out *PaddleJobSpec) {
   471  	*out = *in
   472  	in.RunPolicy.DeepCopyInto(&out.RunPolicy)
   473  	if in.ElasticPolicy != nil {
   474  		in, out := &in.ElasticPolicy, &out.ElasticPolicy
   475  		*out = new(PaddleElasticPolicy)
   476  		(*in).DeepCopyInto(*out)
   477  	}
   478  	if in.PaddleReplicaSpecs != nil {
   479  		in, out := &in.PaddleReplicaSpecs, &out.PaddleReplicaSpecs
   480  		*out = make(map[ReplicaType]*ReplicaSpec, len(*in))
   481  		for key, val := range *in {
   482  			var outVal *ReplicaSpec
   483  			if val == nil {
   484  				(*out)[key] = nil
   485  			} else {
   486  				in, out := &val, &outVal
   487  				*out = new(ReplicaSpec)
   488  				(*in).DeepCopyInto(*out)
   489  			}
   490  			(*out)[key] = outVal
   491  		}
   492  	}
   493  }
   494  
   495  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PaddleJobSpec.
   496  func (in *PaddleJobSpec) DeepCopy() *PaddleJobSpec {
   497  	if in == nil {
   498  		return nil
   499  	}
   500  	out := new(PaddleJobSpec)
   501  	in.DeepCopyInto(out)
   502  	return out
   503  }
   504  
   505  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   506  func (in *PyTorchJob) DeepCopyInto(out *PyTorchJob) {
   507  	*out = *in
   508  	out.TypeMeta = in.TypeMeta
   509  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   510  	in.Spec.DeepCopyInto(&out.Spec)
   511  	in.Status.DeepCopyInto(&out.Status)
   512  }
   513  
   514  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PyTorchJob.
   515  func (in *PyTorchJob) DeepCopy() *PyTorchJob {
   516  	if in == nil {
   517  		return nil
   518  	}
   519  	out := new(PyTorchJob)
   520  	in.DeepCopyInto(out)
   521  	return out
   522  }
   523  
   524  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   525  func (in *PyTorchJob) DeepCopyObject() runtime.Object {
   526  	if c := in.DeepCopy(); c != nil {
   527  		return c
   528  	}
   529  	return nil
   530  }
   531  
   532  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   533  func (in *PyTorchJobList) DeepCopyInto(out *PyTorchJobList) {
   534  	*out = *in
   535  	out.TypeMeta = in.TypeMeta
   536  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   537  	if in.Items != nil {
   538  		in, out := &in.Items, &out.Items
   539  		*out = make([]PyTorchJob, len(*in))
   540  		for i := range *in {
   541  			(*in)[i].DeepCopyInto(&(*out)[i])
   542  		}
   543  	}
   544  }
   545  
   546  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PyTorchJobList.
   547  func (in *PyTorchJobList) DeepCopy() *PyTorchJobList {
   548  	if in == nil {
   549  		return nil
   550  	}
   551  	out := new(PyTorchJobList)
   552  	in.DeepCopyInto(out)
   553  	return out
   554  }
   555  
   556  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   557  func (in *PyTorchJobList) DeepCopyObject() runtime.Object {
   558  	if c := in.DeepCopy(); c != nil {
   559  		return c
   560  	}
   561  	return nil
   562  }
   563  
   564  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   565  func (in *PyTorchJobSpec) DeepCopyInto(out *PyTorchJobSpec) {
   566  	*out = *in
   567  	in.RunPolicy.DeepCopyInto(&out.RunPolicy)
   568  	if in.ElasticPolicy != nil {
   569  		in, out := &in.ElasticPolicy, &out.ElasticPolicy
   570  		*out = new(ElasticPolicy)
   571  		(*in).DeepCopyInto(*out)
   572  	}
   573  	if in.PyTorchReplicaSpecs != nil {
   574  		in, out := &in.PyTorchReplicaSpecs, &out.PyTorchReplicaSpecs
   575  		*out = make(map[ReplicaType]*ReplicaSpec, len(*in))
   576  		for key, val := range *in {
   577  			var outVal *ReplicaSpec
   578  			if val == nil {
   579  				(*out)[key] = nil
   580  			} else {
   581  				in, out := &val, &outVal
   582  				*out = new(ReplicaSpec)
   583  				(*in).DeepCopyInto(*out)
   584  			}
   585  			(*out)[key] = outVal
   586  		}
   587  	}
   588  	if in.NprocPerNode != nil {
   589  		in, out := &in.NprocPerNode, &out.NprocPerNode
   590  		*out = new(string)
   591  		**out = **in
   592  	}
   593  }
   594  
   595  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PyTorchJobSpec.
   596  func (in *PyTorchJobSpec) DeepCopy() *PyTorchJobSpec {
   597  	if in == nil {
   598  		return nil
   599  	}
   600  	out := new(PyTorchJobSpec)
   601  	in.DeepCopyInto(out)
   602  	return out
   603  }
   604  
   605  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   606  func (in *RDZVConf) DeepCopyInto(out *RDZVConf) {
   607  	*out = *in
   608  }
   609  
   610  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDZVConf.
   611  func (in *RDZVConf) DeepCopy() *RDZVConf {
   612  	if in == nil {
   613  		return nil
   614  	}
   615  	out := new(RDZVConf)
   616  	in.DeepCopyInto(out)
   617  	return out
   618  }
   619  
   620  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   621  func (in *ReplicaSpec) DeepCopyInto(out *ReplicaSpec) {
   622  	*out = *in
   623  	if in.Replicas != nil {
   624  		in, out := &in.Replicas, &out.Replicas
   625  		*out = new(int32)
   626  		**out = **in
   627  	}
   628  	in.Template.DeepCopyInto(&out.Template)
   629  }
   630  
   631  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSpec.
   632  func (in *ReplicaSpec) DeepCopy() *ReplicaSpec {
   633  	if in == nil {
   634  		return nil
   635  	}
   636  	out := new(ReplicaSpec)
   637  	in.DeepCopyInto(out)
   638  	return out
   639  }
   640  
   641  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   642  func (in *ReplicaStatus) DeepCopyInto(out *ReplicaStatus) {
   643  	*out = *in
   644  	if in.LabelSelector != nil {
   645  		in, out := &in.LabelSelector, &out.LabelSelector
   646  		*out = new(metav1.LabelSelector)
   647  		(*in).DeepCopyInto(*out)
   648  	}
   649  }
   650  
   651  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaStatus.
   652  func (in *ReplicaStatus) DeepCopy() *ReplicaStatus {
   653  	if in == nil {
   654  		return nil
   655  	}
   656  	out := new(ReplicaStatus)
   657  	in.DeepCopyInto(out)
   658  	return out
   659  }
   660  
   661  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   662  func (in *RunPolicy) DeepCopyInto(out *RunPolicy) {
   663  	*out = *in
   664  	if in.CleanPodPolicy != nil {
   665  		in, out := &in.CleanPodPolicy, &out.CleanPodPolicy
   666  		*out = new(CleanPodPolicy)
   667  		**out = **in
   668  	}
   669  	if in.TTLSecondsAfterFinished != nil {
   670  		in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
   671  		*out = new(int32)
   672  		**out = **in
   673  	}
   674  	if in.ActiveDeadlineSeconds != nil {
   675  		in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
   676  		*out = new(int64)
   677  		**out = **in
   678  	}
   679  	if in.BackoffLimit != nil {
   680  		in, out := &in.BackoffLimit, &out.BackoffLimit
   681  		*out = new(int32)
   682  		**out = **in
   683  	}
   684  	if in.SchedulingPolicy != nil {
   685  		in, out := &in.SchedulingPolicy, &out.SchedulingPolicy
   686  		*out = new(SchedulingPolicy)
   687  		(*in).DeepCopyInto(*out)
   688  	}
   689  	if in.Suspend != nil {
   690  		in, out := &in.Suspend, &out.Suspend
   691  		*out = new(bool)
   692  		**out = **in
   693  	}
   694  }
   695  
   696  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunPolicy.
   697  func (in *RunPolicy) DeepCopy() *RunPolicy {
   698  	if in == nil {
   699  		return nil
   700  	}
   701  	out := new(RunPolicy)
   702  	in.DeepCopyInto(out)
   703  	return out
   704  }
   705  
   706  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   707  func (in *SchedulingPolicy) DeepCopyInto(out *SchedulingPolicy) {
   708  	*out = *in
   709  	if in.MinAvailable != nil {
   710  		in, out := &in.MinAvailable, &out.MinAvailable
   711  		*out = new(int32)
   712  		**out = **in
   713  	}
   714  	if in.MinResources != nil {
   715  		in, out := &in.MinResources, &out.MinResources
   716  		*out = new(map[corev1.ResourceName]resource.Quantity)
   717  		if **in != nil {
   718  			in, out := *in, *out
   719  			*out = make(map[corev1.ResourceName]resource.Quantity, len(*in))
   720  			for key, val := range *in {
   721  				(*out)[key] = val.DeepCopy()
   722  			}
   723  		}
   724  	}
   725  	if in.ScheduleTimeoutSeconds != nil {
   726  		in, out := &in.ScheduleTimeoutSeconds, &out.ScheduleTimeoutSeconds
   727  		*out = new(int32)
   728  		**out = **in
   729  	}
   730  }
   731  
   732  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicy.
   733  func (in *SchedulingPolicy) DeepCopy() *SchedulingPolicy {
   734  	if in == nil {
   735  		return nil
   736  	}
   737  	out := new(SchedulingPolicy)
   738  	in.DeepCopyInto(out)
   739  	return out
   740  }
   741  
   742  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   743  func (in *TFJob) DeepCopyInto(out *TFJob) {
   744  	*out = *in
   745  	out.TypeMeta = in.TypeMeta
   746  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   747  	in.Spec.DeepCopyInto(&out.Spec)
   748  	in.Status.DeepCopyInto(&out.Status)
   749  }
   750  
   751  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFJob.
   752  func (in *TFJob) DeepCopy() *TFJob {
   753  	if in == nil {
   754  		return nil
   755  	}
   756  	out := new(TFJob)
   757  	in.DeepCopyInto(out)
   758  	return out
   759  }
   760  
   761  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   762  func (in *TFJob) DeepCopyObject() runtime.Object {
   763  	if c := in.DeepCopy(); c != nil {
   764  		return c
   765  	}
   766  	return nil
   767  }
   768  
   769  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   770  func (in *TFJobList) DeepCopyInto(out *TFJobList) {
   771  	*out = *in
   772  	out.TypeMeta = in.TypeMeta
   773  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   774  	if in.Items != nil {
   775  		in, out := &in.Items, &out.Items
   776  		*out = make([]TFJob, len(*in))
   777  		for i := range *in {
   778  			(*in)[i].DeepCopyInto(&(*out)[i])
   779  		}
   780  	}
   781  }
   782  
   783  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFJobList.
   784  func (in *TFJobList) DeepCopy() *TFJobList {
   785  	if in == nil {
   786  		return nil
   787  	}
   788  	out := new(TFJobList)
   789  	in.DeepCopyInto(out)
   790  	return out
   791  }
   792  
   793  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   794  func (in *TFJobList) DeepCopyObject() runtime.Object {
   795  	if c := in.DeepCopy(); c != nil {
   796  		return c
   797  	}
   798  	return nil
   799  }
   800  
   801  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   802  func (in *TFJobSpec) DeepCopyInto(out *TFJobSpec) {
   803  	*out = *in
   804  	in.RunPolicy.DeepCopyInto(&out.RunPolicy)
   805  	if in.SuccessPolicy != nil {
   806  		in, out := &in.SuccessPolicy, &out.SuccessPolicy
   807  		*out = new(SuccessPolicy)
   808  		**out = **in
   809  	}
   810  	if in.TFReplicaSpecs != nil {
   811  		in, out := &in.TFReplicaSpecs, &out.TFReplicaSpecs
   812  		*out = make(map[ReplicaType]*ReplicaSpec, len(*in))
   813  		for key, val := range *in {
   814  			var outVal *ReplicaSpec
   815  			if val == nil {
   816  				(*out)[key] = nil
   817  			} else {
   818  				in, out := &val, &outVal
   819  				*out = new(ReplicaSpec)
   820  				(*in).DeepCopyInto(*out)
   821  			}
   822  			(*out)[key] = outVal
   823  		}
   824  	}
   825  }
   826  
   827  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFJobSpec.
   828  func (in *TFJobSpec) DeepCopy() *TFJobSpec {
   829  	if in == nil {
   830  		return nil
   831  	}
   832  	out := new(TFJobSpec)
   833  	in.DeepCopyInto(out)
   834  	return out
   835  }
   836  
   837  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   838  func (in *XGBoostJob) DeepCopyInto(out *XGBoostJob) {
   839  	*out = *in
   840  	out.TypeMeta = in.TypeMeta
   841  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   842  	in.Spec.DeepCopyInto(&out.Spec)
   843  	in.Status.DeepCopyInto(&out.Status)
   844  }
   845  
   846  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XGBoostJob.
   847  func (in *XGBoostJob) DeepCopy() *XGBoostJob {
   848  	if in == nil {
   849  		return nil
   850  	}
   851  	out := new(XGBoostJob)
   852  	in.DeepCopyInto(out)
   853  	return out
   854  }
   855  
   856  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   857  func (in *XGBoostJob) DeepCopyObject() runtime.Object {
   858  	if c := in.DeepCopy(); c != nil {
   859  		return c
   860  	}
   861  	return nil
   862  }
   863  
   864  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   865  func (in *XGBoostJobList) DeepCopyInto(out *XGBoostJobList) {
   866  	*out = *in
   867  	out.TypeMeta = in.TypeMeta
   868  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   869  	if in.Items != nil {
   870  		in, out := &in.Items, &out.Items
   871  		*out = make([]XGBoostJob, len(*in))
   872  		for i := range *in {
   873  			(*in)[i].DeepCopyInto(&(*out)[i])
   874  		}
   875  	}
   876  }
   877  
   878  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XGBoostJobList.
   879  func (in *XGBoostJobList) DeepCopy() *XGBoostJobList {
   880  	if in == nil {
   881  		return nil
   882  	}
   883  	out := new(XGBoostJobList)
   884  	in.DeepCopyInto(out)
   885  	return out
   886  }
   887  
   888  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   889  func (in *XGBoostJobList) DeepCopyObject() runtime.Object {
   890  	if c := in.DeepCopy(); c != nil {
   891  		return c
   892  	}
   893  	return nil
   894  }
   895  
   896  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   897  func (in *XGBoostJobSpec) DeepCopyInto(out *XGBoostJobSpec) {
   898  	*out = *in
   899  	in.RunPolicy.DeepCopyInto(&out.RunPolicy)
   900  	if in.XGBReplicaSpecs != nil {
   901  		in, out := &in.XGBReplicaSpecs, &out.XGBReplicaSpecs
   902  		*out = make(map[ReplicaType]*ReplicaSpec, len(*in))
   903  		for key, val := range *in {
   904  			var outVal *ReplicaSpec
   905  			if val == nil {
   906  				(*out)[key] = nil
   907  			} else {
   908  				in, out := &val, &outVal
   909  				*out = new(ReplicaSpec)
   910  				(*in).DeepCopyInto(*out)
   911  			}
   912  			(*out)[key] = outVal
   913  		}
   914  	}
   915  }
   916  
   917  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XGBoostJobSpec.
   918  func (in *XGBoostJobSpec) DeepCopy() *XGBoostJobSpec {
   919  	if in == nil {
   920  		return nil
   921  	}
   922  	out := new(XGBoostJobSpec)
   923  	in.DeepCopyInto(out)
   924  	return out
   925  }