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 v1 "k8s.io/api/core/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 *PodPreset) DeepCopyInto(out *PodPreset) {
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33 in.Spec.DeepCopyInto(&out.Spec)
37 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset.
38 func (in *PodPreset) DeepCopy() *PodPreset {
47 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
48 func (in *PodPreset) DeepCopyObject() runtime.Object {
49 if c := in.DeepCopy(); c != nil {
55 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
56 func (in *PodPresetList) DeepCopyInto(out *PodPresetList) {
58 out.TypeMeta = in.TypeMeta
59 out.ListMeta = in.ListMeta
61 in, out := &in.Items, &out.Items
62 *out = make([]PodPreset, len(*in))
64 (*in)[i].DeepCopyInto(&(*out)[i])
70 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList.
71 func (in *PodPresetList) DeepCopy() *PodPresetList {
75 out := new(PodPresetList)
80 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
81 func (in *PodPresetList) DeepCopyObject() runtime.Object {
82 if c := in.DeepCopy(); c != nil {
88 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
89 func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec) {
91 in.Selector.DeepCopyInto(&out.Selector)
93 in, out := &in.Env, &out.Env
94 *out = make([]v1.EnvVar, len(*in))
96 (*in)[i].DeepCopyInto(&(*out)[i])
99 if in.EnvFrom != nil {
100 in, out := &in.EnvFrom, &out.EnvFrom
101 *out = make([]v1.EnvFromSource, len(*in))
103 (*in)[i].DeepCopyInto(&(*out)[i])
106 if in.Volumes != nil {
107 in, out := &in.Volumes, &out.Volumes
108 *out = make([]v1.Volume, len(*in))
110 (*in)[i].DeepCopyInto(&(*out)[i])
113 if in.VolumeMounts != nil {
114 in, out := &in.VolumeMounts, &out.VolumeMounts
115 *out = make([]v1.VolumeMount, len(*in))
117 (*in)[i].DeepCopyInto(&(*out)[i])
123 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec.
124 func (in *PodPresetSpec) DeepCopy() *PodPresetSpec {
128 out := new(PodPresetSpec)