Skip to content
zz_generated.deepcopy.go 2.78 KiB
Newer Older
Timothee Gosselin's avatar
Timothee Gosselin committed
// +build !ignore_autogenerated

/*

Licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (the "License");
Timothee Gosselin's avatar
Timothee Gosselin committed
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
Timothee Gosselin's avatar
Timothee Gosselin committed

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 components

import (
	"k8s.libre.sh/meta"
	"k8s.libre.sh/objects/deployment"
)

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Timothee Gosselin's avatar
Timothee Gosselin committed
func (in *Backend) DeepCopyInto(out *Backend) {
Timothee Gosselin's avatar
Timothee Gosselin committed
	*out = *in
	if in.Paths != nil {
		in, out := &in.Paths, &out.Paths
		*out = make([]string, len(*in))
		copy(*out, *in)
	}
Timothee Gosselin's avatar
Timothee Gosselin committed
	out.Port = in.Port
Timothee Gosselin's avatar
Timothee Gosselin committed
}

Timothee Gosselin's avatar
Timothee Gosselin committed
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend.
func (in *Backend) DeepCopy() *Backend {
Timothee Gosselin's avatar
Timothee Gosselin committed
	if in == nil {
		return nil
	}
Timothee Gosselin's avatar
Timothee Gosselin committed
	out := new(Backend)
Timothee Gosselin's avatar
Timothee Gosselin committed
	in.DeepCopyInto(out)
	return out
}

Timothee Gosselin's avatar
Timothee Gosselin committed
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Network) DeepCopyInto(out *Network) {
	*out = *in
	if in.IngressMeta != nil {
		in, out := &in.IngressMeta, &out.IngressMeta
		*out = new(meta.ObjectMeta)
		(*in).DeepCopyInto(*out)
	}
	if in.ServiceMeta != nil {
		in, out := &in.ServiceMeta, &out.ServiceMeta
		*out = new(meta.ObjectMeta)
		(*in).DeepCopyInto(*out)
	}
	if in.Backend != nil {
		in, out := &in.Backend, &out.Backend
		*out = new(Backend)
		(*in).DeepCopyInto(*out)
	}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (in *Network) DeepCopy() *Network {
	if in == nil {
		return nil
	}
	out := new(Network)
	in.DeepCopyInto(out)
	return out
}

Timothee Gosselin's avatar
Timothee Gosselin committed
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Workload) DeepCopyInto(out *Workload) {
	*out = *in
	if in.ObjectMeta != nil {
		in, out := &in.ObjectMeta, &out.ObjectMeta
		*out = new(meta.ObjectMeta)
		(*in).DeepCopyInto(*out)
	}
	if in.Deployment != nil {
		in, out := &in.Deployment, &out.Deployment
		*out = new(deployment.Deployment)
		(*in).DeepCopyInto(*out)
	}
Timothee Gosselin's avatar
Timothee Gosselin committed
	if in.Network != nil {
		in, out := &in.Network, &out.Network
		*out = new(Network)
Timothee Gosselin's avatar
Timothee Gosselin committed
		(*in).DeepCopyInto(*out)
	}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workload.
func (in *Workload) DeepCopy() *Workload {
	if in == nil {
		return nil
	}
	out := new(Workload)
	in.DeepCopyInto(out)
	return out
}