Skip to content
zz_generated.deepcopy.go 2.89 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
}

// 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 *Settings) DeepCopyInto(out *Settings) {
Timothee Gosselin's avatar
Timothee Gosselin committed
	*out = *in
Timothee Gosselin's avatar
Timothee Gosselin committed
	if in.CommonMeta != nil {
		in, out := &in.CommonMeta, &out.CommonMeta
Timothee Gosselin's avatar
Timothee Gosselin committed
		*out = new(meta.ObjectMeta)
		(*in).DeepCopyInto(*out)
	}
Timothee Gosselin's avatar
Timothee Gosselin committed
	if in.SecretMeta != nil {
		in, out := &in.SecretMeta, &out.SecretMeta
		*out = new(meta.ObjectMeta)
		(*in).DeepCopyInto(*out)
Timothee Gosselin's avatar
Timothee Gosselin committed
	}
Timothee Gosselin's avatar
Timothee Gosselin committed
	if in.ConfigMeta != nil {
		in, out := &in.ConfigMeta, &out.ConfigMeta
Timothee Gosselin's avatar
Timothee Gosselin committed
		*out = new(meta.ObjectMeta)
		(*in).DeepCopyInto(*out)
	}
Timothee Gosselin's avatar
Timothee Gosselin committed
	if in.ConfigSpec != nil {
		in, out := &in.ConfigSpec, &out.ConfigSpec
Timothee Gosselin's avatar
Timothee Gosselin committed
		*out = (*in).DeepCopy()
	}
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 Settings.
func (in *Settings) DeepCopy() *Settings {
Timothee Gosselin's avatar
Timothee Gosselin committed
	if in == nil {
		return nil
	}
Timothee Gosselin's avatar
Timothee Gosselin committed
	out := new(Settings)
Timothee Gosselin's avatar
Timothee Gosselin committed
	in.DeepCopyInto(out)
	return out
}

// 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.Backend != nil {
		in, out := &in.Backend, &out.Backend
		*out = new(Backend)
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
}