231 lines
6.3 KiB
Go
231 lines
6.3 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 (
|
|
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 *EKSCluster) DeepCopyInto(out *EKSCluster) {
|
|
*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 EKSCluster.
|
|
func (in *EKSCluster) DeepCopy() *EKSCluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EKSCluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *EKSCluster) 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 *EKSClusterList) DeepCopyInto(out *EKSClusterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]EKSCluster, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterList.
|
|
func (in *EKSClusterList) DeepCopy() *EKSClusterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EKSClusterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *EKSClusterList) 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 *EKSClusterSpec) DeepCopyInto(out *EKSClusterSpec) {
|
|
*out = *in
|
|
if in.SubnetIds != nil {
|
|
in, out := &in.SubnetIds, &out.SubnetIds
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.SecurityGroupIds != nil {
|
|
in, out := &in.SecurityGroupIds, &out.SecurityGroupIds
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
in.WorkerNodes.DeepCopyInto(&out.WorkerNodes)
|
|
if in.MapRoles != nil {
|
|
in, out := &in.MapRoles, &out.MapRoles
|
|
*out = make([]MapRole, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.MapUsers != nil {
|
|
in, out := &in.MapUsers, &out.MapUsers
|
|
*out = make([]MapUser, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.ClaimRef != nil {
|
|
in, out := &in.ClaimRef, &out.ClaimRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.ClassRef != nil {
|
|
in, out := &in.ClassRef, &out.ClassRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
out.ProviderRef = in.ProviderRef
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterSpec.
|
|
func (in *EKSClusterSpec) DeepCopy() *EKSClusterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EKSClusterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EKSClusterStatus) DeepCopyInto(out *EKSClusterStatus) {
|
|
*out = *in
|
|
in.DeprecatedConditionedStatus.DeepCopyInto(&out.DeprecatedConditionedStatus)
|
|
out.BindingStatusPhase = in.BindingStatusPhase
|
|
out.ConnectionSecretRef = in.ConnectionSecretRef
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterStatus.
|
|
func (in *EKSClusterStatus) DeepCopy() *EKSClusterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EKSClusterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MapRole) DeepCopyInto(out *MapRole) {
|
|
*out = *in
|
|
if in.Groups != nil {
|
|
in, out := &in.Groups, &out.Groups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MapRole.
|
|
func (in *MapRole) DeepCopy() *MapRole {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MapRole)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MapUser) DeepCopyInto(out *MapUser) {
|
|
*out = *in
|
|
if in.Groups != nil {
|
|
in, out := &in.Groups, &out.Groups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MapUser.
|
|
func (in *MapUser) DeepCopy() *MapUser {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MapUser)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkerNodesSpec) DeepCopyInto(out *WorkerNodesSpec) {
|
|
*out = *in
|
|
if in.NodeAutoScalingGroupMinSize != nil {
|
|
in, out := &in.NodeAutoScalingGroupMinSize, &out.NodeAutoScalingGroupMinSize
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.NodeAutoScalingGroupMaxSize != nil {
|
|
in, out := &in.NodeAutoScalingGroupMaxSize, &out.NodeAutoScalingGroupMaxSize
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.NodeVolumeSize != nil {
|
|
in, out := &in.NodeVolumeSize, &out.NodeVolumeSize
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodesSpec.
|
|
func (in *WorkerNodesSpec) DeepCopy() *WorkerNodesSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkerNodesSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|