// +build !ignore_autogenerated /* Licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.gnu.org/licenses/agpl-3.0.html Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // Code generated by controller-gen. DO NOT EDIT. package container import ( "k8s.io/api/core/v1" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Container) DeepCopyInto(out *Container) { *out = *in if in.ContainerSpec != nil { in, out := &in.ContainerSpec, &out.ContainerSpec *out = new(ContainerSpec) (*in).DeepCopyInto(*out) } if in.SettingsSpec != nil { in, out := &in.SettingsSpec, &out.SettingsSpec *out = (*in).DeepCopy() } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container. func (in *Container) DeepCopy() *Container { if in == nil { return nil } out := new(Container) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec) { *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) } if in.Args != nil { in, out := &in.Args, &out.Args *out = make([]string, len(*in)) copy(*out, *in) } if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]v1.ContainerPort, len(*in)) copy(*out, *in) } in.Probes.DeepCopyInto(&out.Probes) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec. func (in *ContainerSpec) DeepCopy() *ContainerSpec { if in == nil { return nil } out := new(ContainerSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Probes) DeepCopyInto(out *Probes) { *out = *in if in.ReadinessProbe != nil { in, out := &in.ReadinessProbe, &out.ReadinessProbe *out = new(v1.Probe) (*in).DeepCopyInto(*out) } if in.LivenessProbe != nil { in, out := &in.LivenessProbe, &out.LivenessProbe *out = new(v1.Probe) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probes. func (in *Probes) DeepCopy() *Probes { if in == nil { return nil } out := new(Probes) in.DeepCopyInto(out) return out }