volcano.sh/apis@v1.8.2/pkg/apis/flow/v1alpha1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2021 The Volcano Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  // Code generated by deepcopy-gen. DO NOT EDIT.
    20  
    21  package v1alpha1
    22  
    23  import (
    24  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  	batchv1alpha1 "volcano.sh/apis/pkg/apis/batch/v1alpha1"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *Condition) DeepCopyInto(out *Condition) {
    31  	*out = *in
    32  	in.CreateTimestamp.DeepCopyInto(&out.CreateTimestamp)
    33  	if in.RunningDuration != nil {
    34  		in, out := &in.RunningDuration, &out.RunningDuration
    35  		*out = new(v1.Duration)
    36  		**out = **in
    37  	}
    38  	if in.TaskStatusCount != nil {
    39  		in, out := &in.TaskStatusCount, &out.TaskStatusCount
    40  		*out = make(map[string]batchv1alpha1.TaskState, len(*in))
    41  		for key, val := range *in {
    42  			(*out)[key] = *val.DeepCopy()
    43  		}
    44  	}
    45  	return
    46  }
    47  
    48  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
    49  func (in *Condition) DeepCopy() *Condition {
    50  	if in == nil {
    51  		return nil
    52  	}
    53  	out := new(Condition)
    54  	in.DeepCopyInto(out)
    55  	return out
    56  }
    57  
    58  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    59  func (in *DependsOn) DeepCopyInto(out *DependsOn) {
    60  	*out = *in
    61  	if in.Targets != nil {
    62  		in, out := &in.Targets, &out.Targets
    63  		*out = make([]string, len(*in))
    64  		copy(*out, *in)
    65  	}
    66  	if in.Probe != nil {
    67  		in, out := &in.Probe, &out.Probe
    68  		*out = new(Probe)
    69  		(*in).DeepCopyInto(*out)
    70  	}
    71  	return
    72  }
    73  
    74  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependsOn.
    75  func (in *DependsOn) DeepCopy() *DependsOn {
    76  	if in == nil {
    77  		return nil
    78  	}
    79  	out := new(DependsOn)
    80  	in.DeepCopyInto(out)
    81  	return out
    82  }
    83  
    84  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    85  func (in *Flow) DeepCopyInto(out *Flow) {
    86  	*out = *in
    87  	if in.DependsOn != nil {
    88  		in, out := &in.DependsOn, &out.DependsOn
    89  		*out = new(DependsOn)
    90  		(*in).DeepCopyInto(*out)
    91  	}
    92  	return
    93  }
    94  
    95  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flow.
    96  func (in *Flow) DeepCopy() *Flow {
    97  	if in == nil {
    98  		return nil
    99  	}
   100  	out := new(Flow)
   101  	in.DeepCopyInto(out)
   102  	return out
   103  }
   104  
   105  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   106  func (in *HttpGet) DeepCopyInto(out *HttpGet) {
   107  	*out = *in
   108  	out.HTTPHeader = in.HTTPHeader
   109  	return
   110  }
   111  
   112  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpGet.
   113  func (in *HttpGet) DeepCopy() *HttpGet {
   114  	if in == nil {
   115  		return nil
   116  	}
   117  	out := new(HttpGet)
   118  	in.DeepCopyInto(out)
   119  	return out
   120  }
   121  
   122  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   123  func (in *JobFlow) DeepCopyInto(out *JobFlow) {
   124  	*out = *in
   125  	out.TypeMeta = in.TypeMeta
   126  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   127  	in.Spec.DeepCopyInto(&out.Spec)
   128  	in.Status.DeepCopyInto(&out.Status)
   129  	return
   130  }
   131  
   132  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobFlow.
   133  func (in *JobFlow) DeepCopy() *JobFlow {
   134  	if in == nil {
   135  		return nil
   136  	}
   137  	out := new(JobFlow)
   138  	in.DeepCopyInto(out)
   139  	return out
   140  }
   141  
   142  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   143  func (in *JobFlow) DeepCopyObject() runtime.Object {
   144  	if c := in.DeepCopy(); c != nil {
   145  		return c
   146  	}
   147  	return nil
   148  }
   149  
   150  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   151  func (in *JobFlowList) DeepCopyInto(out *JobFlowList) {
   152  	*out = *in
   153  	out.TypeMeta = in.TypeMeta
   154  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   155  	if in.Items != nil {
   156  		in, out := &in.Items, &out.Items
   157  		*out = make([]JobFlow, len(*in))
   158  		for i := range *in {
   159  			(*in)[i].DeepCopyInto(&(*out)[i])
   160  		}
   161  	}
   162  	return
   163  }
   164  
   165  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobFlowList.
   166  func (in *JobFlowList) DeepCopy() *JobFlowList {
   167  	if in == nil {
   168  		return nil
   169  	}
   170  	out := new(JobFlowList)
   171  	in.DeepCopyInto(out)
   172  	return out
   173  }
   174  
   175  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   176  func (in *JobFlowList) DeepCopyObject() runtime.Object {
   177  	if c := in.DeepCopy(); c != nil {
   178  		return c
   179  	}
   180  	return nil
   181  }
   182  
   183  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   184  func (in *JobFlowSpec) DeepCopyInto(out *JobFlowSpec) {
   185  	*out = *in
   186  	if in.Flows != nil {
   187  		in, out := &in.Flows, &out.Flows
   188  		*out = make([]Flow, len(*in))
   189  		for i := range *in {
   190  			(*in)[i].DeepCopyInto(&(*out)[i])
   191  		}
   192  	}
   193  	return
   194  }
   195  
   196  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobFlowSpec.
   197  func (in *JobFlowSpec) DeepCopy() *JobFlowSpec {
   198  	if in == nil {
   199  		return nil
   200  	}
   201  	out := new(JobFlowSpec)
   202  	in.DeepCopyInto(out)
   203  	return out
   204  }
   205  
   206  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   207  func (in *JobFlowStatus) DeepCopyInto(out *JobFlowStatus) {
   208  	*out = *in
   209  	if in.PendingJobs != nil {
   210  		in, out := &in.PendingJobs, &out.PendingJobs
   211  		*out = make([]string, len(*in))
   212  		copy(*out, *in)
   213  	}
   214  	if in.RunningJobs != nil {
   215  		in, out := &in.RunningJobs, &out.RunningJobs
   216  		*out = make([]string, len(*in))
   217  		copy(*out, *in)
   218  	}
   219  	if in.FailedJobs != nil {
   220  		in, out := &in.FailedJobs, &out.FailedJobs
   221  		*out = make([]string, len(*in))
   222  		copy(*out, *in)
   223  	}
   224  	if in.CompletedJobs != nil {
   225  		in, out := &in.CompletedJobs, &out.CompletedJobs
   226  		*out = make([]string, len(*in))
   227  		copy(*out, *in)
   228  	}
   229  	if in.TerminatedJobs != nil {
   230  		in, out := &in.TerminatedJobs, &out.TerminatedJobs
   231  		*out = make([]string, len(*in))
   232  		copy(*out, *in)
   233  	}
   234  	if in.UnKnowJobs != nil {
   235  		in, out := &in.UnKnowJobs, &out.UnKnowJobs
   236  		*out = make([]string, len(*in))
   237  		copy(*out, *in)
   238  	}
   239  	if in.JobStatusList != nil {
   240  		in, out := &in.JobStatusList, &out.JobStatusList
   241  		*out = make([]JobStatus, len(*in))
   242  		for i := range *in {
   243  			(*in)[i].DeepCopyInto(&(*out)[i])
   244  		}
   245  	}
   246  	if in.Conditions != nil {
   247  		in, out := &in.Conditions, &out.Conditions
   248  		*out = make(map[string]Condition, len(*in))
   249  		for key, val := range *in {
   250  			(*out)[key] = *val.DeepCopy()
   251  		}
   252  	}
   253  	out.State = in.State
   254  	return
   255  }
   256  
   257  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobFlowStatus.
   258  func (in *JobFlowStatus) DeepCopy() *JobFlowStatus {
   259  	if in == nil {
   260  		return nil
   261  	}
   262  	out := new(JobFlowStatus)
   263  	in.DeepCopyInto(out)
   264  	return out
   265  }
   266  
   267  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   268  func (in *JobRunningHistory) DeepCopyInto(out *JobRunningHistory) {
   269  	*out = *in
   270  	in.StartTimestamp.DeepCopyInto(&out.StartTimestamp)
   271  	in.EndTimestamp.DeepCopyInto(&out.EndTimestamp)
   272  	return
   273  }
   274  
   275  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobRunningHistory.
   276  func (in *JobRunningHistory) DeepCopy() *JobRunningHistory {
   277  	if in == nil {
   278  		return nil
   279  	}
   280  	out := new(JobRunningHistory)
   281  	in.DeepCopyInto(out)
   282  	return out
   283  }
   284  
   285  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   286  func (in *JobStatus) DeepCopyInto(out *JobStatus) {
   287  	*out = *in
   288  	in.StartTimestamp.DeepCopyInto(&out.StartTimestamp)
   289  	in.EndTimestamp.DeepCopyInto(&out.EndTimestamp)
   290  	if in.RunningHistories != nil {
   291  		in, out := &in.RunningHistories, &out.RunningHistories
   292  		*out = make([]JobRunningHistory, len(*in))
   293  		for i := range *in {
   294  			(*in)[i].DeepCopyInto(&(*out)[i])
   295  		}
   296  	}
   297  	return
   298  }
   299  
   300  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
   301  func (in *JobStatus) DeepCopy() *JobStatus {
   302  	if in == nil {
   303  		return nil
   304  	}
   305  	out := new(JobStatus)
   306  	in.DeepCopyInto(out)
   307  	return out
   308  }
   309  
   310  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   311  func (in *JobTemplate) DeepCopyInto(out *JobTemplate) {
   312  	*out = *in
   313  	out.TypeMeta = in.TypeMeta
   314  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   315  	in.Spec.DeepCopyInto(&out.Spec)
   316  	in.Status.DeepCopyInto(&out.Status)
   317  	return
   318  }
   319  
   320  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.
   321  func (in *JobTemplate) DeepCopy() *JobTemplate {
   322  	if in == nil {
   323  		return nil
   324  	}
   325  	out := new(JobTemplate)
   326  	in.DeepCopyInto(out)
   327  	return out
   328  }
   329  
   330  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   331  func (in *JobTemplate) DeepCopyObject() runtime.Object {
   332  	if c := in.DeepCopy(); c != nil {
   333  		return c
   334  	}
   335  	return nil
   336  }
   337  
   338  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   339  func (in *JobTemplateList) DeepCopyInto(out *JobTemplateList) {
   340  	*out = *in
   341  	out.TypeMeta = in.TypeMeta
   342  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   343  	if in.Items != nil {
   344  		in, out := &in.Items, &out.Items
   345  		*out = make([]JobTemplate, len(*in))
   346  		for i := range *in {
   347  			(*in)[i].DeepCopyInto(&(*out)[i])
   348  		}
   349  	}
   350  	return
   351  }
   352  
   353  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateList.
   354  func (in *JobTemplateList) DeepCopy() *JobTemplateList {
   355  	if in == nil {
   356  		return nil
   357  	}
   358  	out := new(JobTemplateList)
   359  	in.DeepCopyInto(out)
   360  	return out
   361  }
   362  
   363  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   364  func (in *JobTemplateList) DeepCopyObject() runtime.Object {
   365  	if c := in.DeepCopy(); c != nil {
   366  		return c
   367  	}
   368  	return nil
   369  }
   370  
   371  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   372  func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
   373  	*out = *in
   374  	in.JobSpec.DeepCopyInto(&out.JobSpec)
   375  	return
   376  }
   377  
   378  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
   379  func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
   380  	if in == nil {
   381  		return nil
   382  	}
   383  	out := new(JobTemplateSpec)
   384  	in.DeepCopyInto(out)
   385  	return out
   386  }
   387  
   388  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   389  func (in *JobTemplateStatus) DeepCopyInto(out *JobTemplateStatus) {
   390  	*out = *in
   391  	if in.JobDependsOnList != nil {
   392  		in, out := &in.JobDependsOnList, &out.JobDependsOnList
   393  		*out = make([]string, len(*in))
   394  		copy(*out, *in)
   395  	}
   396  	return
   397  }
   398  
   399  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateStatus.
   400  func (in *JobTemplateStatus) DeepCopy() *JobTemplateStatus {
   401  	if in == nil {
   402  		return nil
   403  	}
   404  	out := new(JobTemplateStatus)
   405  	in.DeepCopyInto(out)
   406  	return out
   407  }
   408  
   409  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   410  func (in *Probe) DeepCopyInto(out *Probe) {
   411  	*out = *in
   412  	if in.HttpGetList != nil {
   413  		in, out := &in.HttpGetList, &out.HttpGetList
   414  		*out = make([]HttpGet, len(*in))
   415  		copy(*out, *in)
   416  	}
   417  	if in.TcpSocketList != nil {
   418  		in, out := &in.TcpSocketList, &out.TcpSocketList
   419  		*out = make([]TcpSocket, len(*in))
   420  		copy(*out, *in)
   421  	}
   422  	if in.TaskStatusList != nil {
   423  		in, out := &in.TaskStatusList, &out.TaskStatusList
   424  		*out = make([]TaskStatus, len(*in))
   425  		copy(*out, *in)
   426  	}
   427  	return
   428  }
   429  
   430  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe.
   431  func (in *Probe) DeepCopy() *Probe {
   432  	if in == nil {
   433  		return nil
   434  	}
   435  	out := new(Probe)
   436  	in.DeepCopyInto(out)
   437  	return out
   438  }
   439  
   440  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   441  func (in *State) DeepCopyInto(out *State) {
   442  	*out = *in
   443  	return
   444  }
   445  
   446  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new State.
   447  func (in *State) DeepCopy() *State {
   448  	if in == nil {
   449  		return nil
   450  	}
   451  	out := new(State)
   452  	in.DeepCopyInto(out)
   453  	return out
   454  }
   455  
   456  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   457  func (in *TaskStatus) DeepCopyInto(out *TaskStatus) {
   458  	*out = *in
   459  	return
   460  }
   461  
   462  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskStatus.
   463  func (in *TaskStatus) DeepCopy() *TaskStatus {
   464  	if in == nil {
   465  		return nil
   466  	}
   467  	out := new(TaskStatus)
   468  	in.DeepCopyInto(out)
   469  	return out
   470  }
   471  
   472  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   473  func (in *TcpSocket) DeepCopyInto(out *TcpSocket) {
   474  	*out = *in
   475  	return
   476  }
   477  
   478  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TcpSocket.
   479  func (in *TcpSocket) DeepCopy() *TcpSocket {
   480  	if in == nil {
   481  		return nil
   482  	}
   483  	out := new(TcpSocket)
   484  	in.DeepCopyInto(out)
   485  	return out
   486  }