265 lines
7.4 KiB
Go
265 lines
7.4 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2018 The Crossplane Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
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 main. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
appsv1 "k8s.io/api/apps/v1"
|
|
v1 "k8s.io/api/core/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubernetesCluster) DeepCopyInto(out *KubernetesCluster) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesCluster.
|
|
func (in *KubernetesCluster) DeepCopy() *KubernetesCluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubernetesCluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KubernetesCluster) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubernetesClusterList) DeepCopyInto(out *KubernetesClusterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KubernetesCluster, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesClusterList.
|
|
func (in *KubernetesClusterList) DeepCopy() *KubernetesClusterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubernetesClusterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KubernetesClusterList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubernetesClusterSpec) DeepCopyInto(out *KubernetesClusterSpec) {
|
|
*out = *in
|
|
if in.ClassRef != nil {
|
|
in, out := &in.ClassRef, &out.ClassRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.ResourceRef != nil {
|
|
in, out := &in.ResourceRef, &out.ResourceRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
in.Selector.DeepCopyInto(&out.Selector)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesClusterSpec.
|
|
func (in *KubernetesClusterSpec) DeepCopy() *KubernetesClusterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubernetesClusterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceReference) DeepCopyInto(out *ResourceReference) {
|
|
*out = *in
|
|
out.ObjectReference = in.ObjectReference
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference.
|
|
func (in *ResourceReference) DeepCopy() *ResourceReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceReference)
|
|
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
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// 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
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Workload) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkloadList) DeepCopyInto(out *WorkloadList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Workload, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadList.
|
|
func (in *WorkloadList) DeepCopy() *WorkloadList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *WorkloadList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkloadSpec) DeepCopyInto(out *WorkloadSpec) {
|
|
*out = *in
|
|
if in.ClusterSelector != nil {
|
|
in, out := &in.ClusterSelector, &out.ClusterSelector
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.TargetDeployment != nil {
|
|
in, out := &in.TargetDeployment, &out.TargetDeployment
|
|
*out = new(appsv1.Deployment)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.TargetService != nil {
|
|
in, out := &in.TargetService, &out.TargetService
|
|
*out = new(v1.Service)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Resources != nil {
|
|
in, out := &in.Resources, &out.Resources
|
|
*out = make([]ResourceReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSpec.
|
|
func (in *WorkloadSpec) DeepCopy() *WorkloadSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkloadStatus) DeepCopyInto(out *WorkloadStatus) {
|
|
*out = *in
|
|
in.DeprecatedConditionedStatus.DeepCopyInto(&out.DeprecatedConditionedStatus)
|
|
if in.Cluster != nil {
|
|
in, out := &in.Cluster, &out.Cluster
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
in.DeploymentStatus.DeepCopyInto(&out.DeploymentStatus)
|
|
in.ServiceStatus.DeepCopyInto(&out.ServiceStatus)
|
|
if in.Deployment != nil {
|
|
in, out := &in.Deployment, &out.Deployment
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.Service != nil {
|
|
in, out := &in.Service, &out.Service
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadStatus.
|
|
func (in *WorkloadStatus) DeepCopy() *WorkloadStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|