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