| 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 v1 |
| 23 |
|
| 24 |
import ( |
| 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 *Pod) DeepCopyInto(out *Pod) { |
| 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 Pod. |
| 39 |
func (in *Pod) DeepCopy() *Pod { |
| 40 |
if in == nil { |
| 41 |
return nil |
| 42 |
} |
| 43 |
out := new(Pod) |
| 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 *Pod) 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 *PodCondition) DeepCopyInto(out *PodCondition) { |
| 58 |
*out = *in |
| 59 |
in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) |
| 60 |
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 61 |
return |
| 62 |
} |
| 63 |
|
| 64 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. |
| 65 |
func (in *PodCondition) DeepCopy() *PodCondition { |
| 66 |
if in == nil { |
| 67 |
return nil |
| 68 |
} |
| 69 |
out := new(PodCondition) |
| 70 |
in.DeepCopyInto(out) |
| 71 |
return out |
| 72 |
} |
| 73 |
|
| 74 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 75 |
func (in *PodList) DeepCopyInto(out *PodList) { |
| 76 |
*out = *in |
| 77 |
out.TypeMeta = in.TypeMeta |
| 78 |
in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 79 |
if in.Items != nil { |
| 80 |
in, out := &in.Items, &out.Items |
| 81 |
*out = make([]Pod, len(*in)) |
| 82 |
for i := range *in { |
| 83 |
(*in)[i].DeepCopyInto(&(*out)[i]) |
| 84 |
} |
| 85 |
} |
| 86 |
return |
| 87 |
} |
| 88 |
|
| 89 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList. |
| 90 |
func (in *PodList) DeepCopy() *PodList { |
| 91 |
if in == nil { |
| 92 |
return nil |
| 93 |
} |
| 94 |
out := new(PodList) |
| 95 |
in.DeepCopyInto(out) |
| 96 |
return out |
| 97 |
} |
| 98 |
|
| 99 |
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 100 |
func (in *PodList) DeepCopyObject() runtime.Object { |
| 101 |
if c := in.DeepCopy(); c != nil { |
| 102 |
return c |
| 103 |
} |
| 104 |
return nil |
| 105 |
} |
| 106 |
|
| 107 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 108 |
func (in *PodSpec) DeepCopyInto(out *PodSpec) { |
| 109 |
*out = *in |
| 110 |
if in.TerminationGracePeriodSeconds != nil { |
| 111 |
in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds |
| 112 |
*out = new(int64) |
| 113 |
**out = **in |
| 114 |
} |
| 115 |
if in.ActiveDeadlineSeconds != nil { |
| 116 |
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds |
| 117 |
*out = new(int64) |
| 118 |
**out = **in |
| 119 |
} |
| 120 |
if in.NodeSelector != nil { |
| 121 |
in, out := &in.NodeSelector, &out.NodeSelector |
| 122 |
*out = make(map[string]string, len(*in)) |
| 123 |
for key, val := range *in { |
| 124 |
(*out)[key] = val |
| 125 |
} |
| 126 |
} |
| 127 |
return |
| 128 |
} |
| 129 |
|
| 130 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. |
| 131 |
func (in *PodSpec) DeepCopy() *PodSpec { |
| 132 |
if in == nil { |
| 133 |
return nil |
| 134 |
} |
| 135 |
out := new(PodSpec) |
| 136 |
in.DeepCopyInto(out) |
| 137 |
return out |
| 138 |
} |
| 139 |
|
| 140 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 141 |
func (in *PodStatus) DeepCopyInto(out *PodStatus) { |
| 142 |
*out = *in |
| 143 |
if in.Conditions != nil { |
| 144 |
in, out := &in.Conditions, &out.Conditions |
| 145 |
*out = make([]PodCondition, len(*in)) |
| 146 |
for i := range *in { |
| 147 |
(*in)[i].DeepCopyInto(&(*out)[i]) |
| 148 |
} |
| 149 |
} |
| 150 |
if in.StartTime != nil { |
| 151 |
in, out := &in.StartTime, &out.StartTime |
| 152 |
*out = (*in).DeepCopy() |
| 153 |
} |
| 154 |
return |
| 155 |
} |
| 156 |
|
| 157 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. |
| 158 |
func (in *PodStatus) DeepCopy() *PodStatus { |
| 159 |
if in == nil { |
| 160 |
return nil |
| 161 |
} |
| 162 |
out := new(PodStatus) |
| 163 |
in.DeepCopyInto(out) |
| 164 |
return out |
| 165 |
} |