...

Source file src/k8s.io/api/batch/v1beta1/zz_generated.deepcopy.go

Documentation: k8s.io/api/batch/v1beta1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes 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  
    20  // Code generated by deepcopy-gen. DO NOT EDIT.
    21  
    22  package v1beta1
    23  
    24  import (
    25  	v1 "k8s.io/api/core/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *CronJob) DeepCopyInto(out *CronJob) {
    31  	*out = *in
    32  	out.TypeMeta = in.TypeMeta
    33  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    34  	in.Spec.DeepCopyInto(&out.Spec)
    35  	in.Status.DeepCopyInto(&out.Status)
    36  	return
    37  }
    38  
    39  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
    40  func (in *CronJob) DeepCopy() *CronJob {
    41  	if in == nil {
    42  		return nil
    43  	}
    44  	out := new(CronJob)
    45  	in.DeepCopyInto(out)
    46  	return out
    47  }
    48  
    49  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    50  func (in *CronJob) DeepCopyObject() runtime.Object {
    51  	if c := in.DeepCopy(); c != nil {
    52  		return c
    53  	}
    54  	return nil
    55  }
    56  
    57  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    58  func (in *CronJobList) DeepCopyInto(out *CronJobList) {
    59  	*out = *in
    60  	out.TypeMeta = in.TypeMeta
    61  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    62  	if in.Items != nil {
    63  		in, out := &in.Items, &out.Items
    64  		*out = make([]CronJob, len(*in))
    65  		for i := range *in {
    66  			(*in)[i].DeepCopyInto(&(*out)[i])
    67  		}
    68  	}
    69  	return
    70  }
    71  
    72  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.
    73  func (in *CronJobList) DeepCopy() *CronJobList {
    74  	if in == nil {
    75  		return nil
    76  	}
    77  	out := new(CronJobList)
    78  	in.DeepCopyInto(out)
    79  	return out
    80  }
    81  
    82  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    83  func (in *CronJobList) DeepCopyObject() runtime.Object {
    84  	if c := in.DeepCopy(); c != nil {
    85  		return c
    86  	}
    87  	return nil
    88  }
    89  
    90  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    91  func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
    92  	*out = *in
    93  	if in.TimeZone != nil {
    94  		in, out := &in.TimeZone, &out.TimeZone
    95  		*out = new(string)
    96  		**out = **in
    97  	}
    98  	if in.StartingDeadlineSeconds != nil {
    99  		in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
   100  		*out = new(int64)
   101  		**out = **in
   102  	}
   103  	if in.Suspend != nil {
   104  		in, out := &in.Suspend, &out.Suspend
   105  		*out = new(bool)
   106  		**out = **in
   107  	}
   108  	in.JobTemplate.DeepCopyInto(&out.JobTemplate)
   109  	if in.SuccessfulJobsHistoryLimit != nil {
   110  		in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
   111  		*out = new(int32)
   112  		**out = **in
   113  	}
   114  	if in.FailedJobsHistoryLimit != nil {
   115  		in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
   116  		*out = new(int32)
   117  		**out = **in
   118  	}
   119  	return
   120  }
   121  
   122  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
   123  func (in *CronJobSpec) DeepCopy() *CronJobSpec {
   124  	if in == nil {
   125  		return nil
   126  	}
   127  	out := new(CronJobSpec)
   128  	in.DeepCopyInto(out)
   129  	return out
   130  }
   131  
   132  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   133  func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
   134  	*out = *in
   135  	if in.Active != nil {
   136  		in, out := &in.Active, &out.Active
   137  		*out = make([]v1.ObjectReference, len(*in))
   138  		copy(*out, *in)
   139  	}
   140  	if in.LastScheduleTime != nil {
   141  		in, out := &in.LastScheduleTime, &out.LastScheduleTime
   142  		*out = (*in).DeepCopy()
   143  	}
   144  	if in.LastSuccessfulTime != nil {
   145  		in, out := &in.LastSuccessfulTime, &out.LastSuccessfulTime
   146  		*out = (*in).DeepCopy()
   147  	}
   148  	return
   149  }
   150  
   151  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
   152  func (in *CronJobStatus) DeepCopy() *CronJobStatus {
   153  	if in == nil {
   154  		return nil
   155  	}
   156  	out := new(CronJobStatus)
   157  	in.DeepCopyInto(out)
   158  	return out
   159  }
   160  
   161  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   162  func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
   163  	*out = *in
   164  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   165  	in.Spec.DeepCopyInto(&out.Spec)
   166  	return
   167  }
   168  
   169  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
   170  func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
   171  	if in == nil {
   172  		return nil
   173  	}
   174  	out := new(JobTemplateSpec)
   175  	in.DeepCopyInto(out)
   176  	return out
   177  }
   178  

View as plain text