1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
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
10 http://www.apache.org/licenses/LICENSE-2.0
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.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
25 runtime "k8s.io/apimachinery/pkg/runtime"
28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29 func (in *Job) DeepCopyInto(out *Job) {
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33 in.Spec.DeepCopyInto(&out.Spec)
34 in.Status.DeepCopyInto(&out.Status)
38 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
39 func (in *Job) DeepCopy() *Job {
48 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
49 func (in *Job) DeepCopyObject() runtime.Object {
50 if c := in.DeepCopy(); c != nil {
56 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
57 func (in *JobCondition) DeepCopyInto(out *JobCondition) {
59 in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
60 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
64 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
65 func (in *JobCondition) DeepCopy() *JobCondition {
69 out := new(JobCondition)
74 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
75 func (in *JobList) DeepCopyInto(out *JobList) {
77 out.TypeMeta = in.TypeMeta
78 out.ListMeta = in.ListMeta
80 in, out := &in.Items, &out.Items
81 *out = make([]Job, len(*in))
83 (*in)[i].DeepCopyInto(&(*out)[i])
89 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
90 func (in *JobList) DeepCopy() *JobList {
99 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
100 func (in *JobList) DeepCopyObject() runtime.Object {
101 if c := in.DeepCopy(); c != nil {
107 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
108 func (in *JobSpec) DeepCopyInto(out *JobSpec) {
110 if in.Parallelism != nil {
111 in, out := &in.Parallelism, &out.Parallelism
115 if in.Completions != nil {
116 in, out := &in.Completions, &out.Completions
120 if in.ActiveDeadlineSeconds != nil {
121 in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
125 if in.BackoffLimit != nil {
126 in, out := &in.BackoffLimit, &out.BackoffLimit
130 if in.Selector != nil {
131 in, out := &in.Selector, &out.Selector
132 *out = new(metav1.LabelSelector)
133 (*in).DeepCopyInto(*out)
135 if in.ManualSelector != nil {
136 in, out := &in.ManualSelector, &out.ManualSelector
140 in.Template.DeepCopyInto(&out.Template)
141 if in.TTLSecondsAfterFinished != nil {
142 in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
149 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
150 func (in *JobSpec) DeepCopy() *JobSpec {
159 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
160 func (in *JobStatus) DeepCopyInto(out *JobStatus) {
162 if in.Conditions != nil {
163 in, out := &in.Conditions, &out.Conditions
164 *out = make([]JobCondition, len(*in))
166 (*in)[i].DeepCopyInto(&(*out)[i])
169 if in.StartTime != nil {
170 in, out := &in.StartTime, &out.StartTime
171 *out = (*in).DeepCopy()
173 if in.CompletionTime != nil {
174 in, out := &in.CompletionTime, &out.CompletionTime
175 *out = (*in).DeepCopy()
180 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
181 func (in *JobStatus) DeepCopy() *JobStatus {
185 out := new(JobStatus)