1253 lines
36 KiB
Go
1253 lines
36 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright The Kubernetes 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 controller-gen. DO NOT EDIT.
|
|
|
|
package v1beta1
|
|
|
|
import (
|
|
"k8s.io/api/core/v1"
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
"k8s.io/apimachinery/pkg/util/intstr"
|
|
"sigs.k8s.io/cluster-api/errors"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint.
|
|
func (in *APIEndpoint) DeepCopy() *APIEndpoint {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(APIEndpoint)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Bootstrap) DeepCopyInto(out *Bootstrap) {
|
|
*out = *in
|
|
if in.ConfigRef != nil {
|
|
in, out := &in.ConfigRef, &out.ConfigRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.DataSecretName != nil {
|
|
in, out := &in.DataSecretName, &out.DataSecretName
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bootstrap.
|
|
func (in *Bootstrap) DeepCopy() *Bootstrap {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Bootstrap)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Cluster) DeepCopyInto(out *Cluster) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
|
|
func (in *Cluster) DeepCopy() *Cluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Cluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Cluster) 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 *ClusterClass) DeepCopyInto(out *ClusterClass) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClass.
|
|
func (in *ClusterClass) DeepCopy() *ClusterClass {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterClass)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterClass) 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 *ClusterClassList) DeepCopyInto(out *ClusterClassList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ClusterClass, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassList.
|
|
func (in *ClusterClassList) DeepCopy() *ClusterClassList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterClassList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterClassList) 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 *ClusterClassSpec) DeepCopyInto(out *ClusterClassSpec) {
|
|
*out = *in
|
|
in.Infrastructure.DeepCopyInto(&out.Infrastructure)
|
|
in.ControlPlane.DeepCopyInto(&out.ControlPlane)
|
|
in.Workers.DeepCopyInto(&out.Workers)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassSpec.
|
|
func (in *ClusterClassSpec) DeepCopy() *ClusterClassSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterClassSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterList) DeepCopyInto(out *ClusterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Cluster, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
|
|
func (in *ClusterList) DeepCopy() *ClusterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterList) 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 *ClusterNetwork) DeepCopyInto(out *ClusterNetwork) {
|
|
*out = *in
|
|
if in.APIServerPort != nil {
|
|
in, out := &in.APIServerPort, &out.APIServerPort
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Services != nil {
|
|
in, out := &in.Services, &out.Services
|
|
*out = new(NetworkRanges)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Pods != nil {
|
|
in, out := &in.Pods, &out.Pods
|
|
*out = new(NetworkRanges)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetwork.
|
|
func (in *ClusterNetwork) DeepCopy() *ClusterNetwork {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterNetwork)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
|
|
*out = *in
|
|
if in.ClusterNetwork != nil {
|
|
in, out := &in.ClusterNetwork, &out.ClusterNetwork
|
|
*out = new(ClusterNetwork)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
out.ControlPlaneEndpoint = in.ControlPlaneEndpoint
|
|
if in.ControlPlaneRef != nil {
|
|
in, out := &in.ControlPlaneRef, &out.ControlPlaneRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.InfrastructureRef != nil {
|
|
in, out := &in.InfrastructureRef, &out.InfrastructureRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.Topology != nil {
|
|
in, out := &in.Topology, &out.Topology
|
|
*out = new(Topology)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
|
|
func (in *ClusterSpec) DeepCopy() *ClusterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
|
|
*out = *in
|
|
if in.FailureDomains != nil {
|
|
in, out := &in.FailureDomains, &out.FailureDomains
|
|
*out = make(FailureDomains, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = *val.DeepCopy()
|
|
}
|
|
}
|
|
if in.FailureReason != nil {
|
|
in, out := &in.FailureReason, &out.FailureReason
|
|
*out = new(errors.ClusterStatusError)
|
|
**out = **in
|
|
}
|
|
if in.FailureMessage != nil {
|
|
in, out := &in.FailureMessage, &out.FailureMessage
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
|
|
func (in *ClusterStatus) DeepCopy() *ClusterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Condition) DeepCopyInto(out *Condition) {
|
|
*out = *in
|
|
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
|
|
func (in *Condition) DeepCopy() *Condition {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Condition)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in Conditions) DeepCopyInto(out *Conditions) {
|
|
{
|
|
in := &in
|
|
*out = make(Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions.
|
|
func (in Conditions) DeepCopy() Conditions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Conditions)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ControlPlaneClass) DeepCopyInto(out *ControlPlaneClass) {
|
|
*out = *in
|
|
in.Metadata.DeepCopyInto(&out.Metadata)
|
|
in.LocalObjectTemplate.DeepCopyInto(&out.LocalObjectTemplate)
|
|
if in.MachineInfrastructure != nil {
|
|
in, out := &in.MachineInfrastructure, &out.MachineInfrastructure
|
|
*out = new(LocalObjectTemplate)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneClass.
|
|
func (in *ControlPlaneClass) DeepCopy() *ControlPlaneClass {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ControlPlaneClass)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ControlPlaneTopology) DeepCopyInto(out *ControlPlaneTopology) {
|
|
*out = *in
|
|
in.Metadata.DeepCopyInto(&out.Metadata)
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneTopology.
|
|
func (in *ControlPlaneTopology) DeepCopy() *ControlPlaneTopology {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ControlPlaneTopology)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FailureDomainSpec) DeepCopyInto(out *FailureDomainSpec) {
|
|
*out = *in
|
|
if in.Attributes != nil {
|
|
in, out := &in.Attributes, &out.Attributes
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureDomainSpec.
|
|
func (in *FailureDomainSpec) DeepCopy() *FailureDomainSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FailureDomainSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in FailureDomains) DeepCopyInto(out *FailureDomains) {
|
|
{
|
|
in := &in
|
|
*out = make(FailureDomains, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = *val.DeepCopy()
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureDomains.
|
|
func (in FailureDomains) DeepCopy() FailureDomains {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FailureDomains)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LocalObjectTemplate) DeepCopyInto(out *LocalObjectTemplate) {
|
|
*out = *in
|
|
if in.Ref != nil {
|
|
in, out := &in.Ref, &out.Ref
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectTemplate.
|
|
func (in *LocalObjectTemplate) DeepCopy() *LocalObjectTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LocalObjectTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Machine) DeepCopyInto(out *Machine) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.
|
|
func (in *Machine) DeepCopy() *Machine {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Machine)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Machine) 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 *MachineAddress) DeepCopyInto(out *MachineAddress) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAddress.
|
|
func (in *MachineAddress) DeepCopy() *MachineAddress {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineAddress)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in MachineAddresses) DeepCopyInto(out *MachineAddresses) {
|
|
{
|
|
in := &in
|
|
*out = make(MachineAddresses, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAddresses.
|
|
func (in MachineAddresses) DeepCopy() MachineAddresses {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineAddresses)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineDeployment) DeepCopyInto(out *MachineDeployment) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeployment.
|
|
func (in *MachineDeployment) DeepCopy() *MachineDeployment {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineDeployment)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MachineDeployment) 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 *MachineDeploymentClass) DeepCopyInto(out *MachineDeploymentClass) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentClass.
|
|
func (in *MachineDeploymentClass) DeepCopy() *MachineDeploymentClass {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineDeploymentClass)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineDeploymentClassTemplate) DeepCopyInto(out *MachineDeploymentClassTemplate) {
|
|
*out = *in
|
|
in.Metadata.DeepCopyInto(&out.Metadata)
|
|
in.Bootstrap.DeepCopyInto(&out.Bootstrap)
|
|
in.Infrastructure.DeepCopyInto(&out.Infrastructure)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentClassTemplate.
|
|
func (in *MachineDeploymentClassTemplate) DeepCopy() *MachineDeploymentClassTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineDeploymentClassTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineDeploymentList) DeepCopyInto(out *MachineDeploymentList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]MachineDeployment, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentList.
|
|
func (in *MachineDeploymentList) DeepCopy() *MachineDeploymentList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineDeploymentList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MachineDeploymentList) 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 *MachineDeploymentSpec) DeepCopyInto(out *MachineDeploymentSpec) {
|
|
*out = *in
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
in.Selector.DeepCopyInto(&out.Selector)
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
if in.Strategy != nil {
|
|
in, out := &in.Strategy, &out.Strategy
|
|
*out = new(MachineDeploymentStrategy)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.MinReadySeconds != nil {
|
|
in, out := &in.MinReadySeconds, &out.MinReadySeconds
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.RevisionHistoryLimit != nil {
|
|
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ProgressDeadlineSeconds != nil {
|
|
in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentSpec.
|
|
func (in *MachineDeploymentSpec) DeepCopy() *MachineDeploymentSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineDeploymentSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineDeploymentStatus) DeepCopyInto(out *MachineDeploymentStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStatus.
|
|
func (in *MachineDeploymentStatus) DeepCopy() *MachineDeploymentStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineDeploymentStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineDeploymentStrategy) DeepCopyInto(out *MachineDeploymentStrategy) {
|
|
*out = *in
|
|
if in.RollingUpdate != nil {
|
|
in, out := &in.RollingUpdate, &out.RollingUpdate
|
|
*out = new(MachineRollingUpdateDeployment)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStrategy.
|
|
func (in *MachineDeploymentStrategy) DeepCopy() *MachineDeploymentStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineDeploymentStrategy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineDeploymentTopology) DeepCopyInto(out *MachineDeploymentTopology) {
|
|
*out = *in
|
|
in.Metadata.DeepCopyInto(&out.Metadata)
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentTopology.
|
|
func (in *MachineDeploymentTopology) DeepCopy() *MachineDeploymentTopology {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineDeploymentTopology)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineHealthCheck) DeepCopyInto(out *MachineHealthCheck) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheck.
|
|
func (in *MachineHealthCheck) DeepCopy() *MachineHealthCheck {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineHealthCheck)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MachineHealthCheck) 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 *MachineHealthCheckList) DeepCopyInto(out *MachineHealthCheckList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]MachineHealthCheck, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckList.
|
|
func (in *MachineHealthCheckList) DeepCopy() *MachineHealthCheckList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineHealthCheckList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MachineHealthCheckList) 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 *MachineHealthCheckSpec) DeepCopyInto(out *MachineHealthCheckSpec) {
|
|
*out = *in
|
|
in.Selector.DeepCopyInto(&out.Selector)
|
|
if in.UnhealthyConditions != nil {
|
|
in, out := &in.UnhealthyConditions, &out.UnhealthyConditions
|
|
*out = make([]UnhealthyCondition, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.MaxUnhealthy != nil {
|
|
in, out := &in.MaxUnhealthy, &out.MaxUnhealthy
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.UnhealthyRange != nil {
|
|
in, out := &in.UnhealthyRange, &out.UnhealthyRange
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.NodeStartupTimeout != nil {
|
|
in, out := &in.NodeStartupTimeout, &out.NodeStartupTimeout
|
|
*out = new(metav1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.RemediationTemplate != nil {
|
|
in, out := &in.RemediationTemplate, &out.RemediationTemplate
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckSpec.
|
|
func (in *MachineHealthCheckSpec) DeepCopy() *MachineHealthCheckSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineHealthCheckSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineHealthCheckStatus) DeepCopyInto(out *MachineHealthCheckStatus) {
|
|
*out = *in
|
|
if in.Targets != nil {
|
|
in, out := &in.Targets, &out.Targets
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckStatus.
|
|
func (in *MachineHealthCheckStatus) DeepCopy() *MachineHealthCheckStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineHealthCheckStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineList) DeepCopyInto(out *MachineList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Machine, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList.
|
|
func (in *MachineList) DeepCopy() *MachineList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MachineList) 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 *MachineRollingUpdateDeployment) DeepCopyInto(out *MachineRollingUpdateDeployment) {
|
|
*out = *in
|
|
if in.MaxUnavailable != nil {
|
|
in, out := &in.MaxUnavailable, &out.MaxUnavailable
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.MaxSurge != nil {
|
|
in, out := &in.MaxSurge, &out.MaxSurge
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.DeletePolicy != nil {
|
|
in, out := &in.DeletePolicy, &out.DeletePolicy
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRollingUpdateDeployment.
|
|
func (in *MachineRollingUpdateDeployment) DeepCopy() *MachineRollingUpdateDeployment {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineRollingUpdateDeployment)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineSet) DeepCopyInto(out *MachineSet) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSet.
|
|
func (in *MachineSet) DeepCopy() *MachineSet {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineSet)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MachineSet) 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 *MachineSetList) DeepCopyInto(out *MachineSetList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]MachineSet, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetList.
|
|
func (in *MachineSetList) DeepCopy() *MachineSetList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineSetList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MachineSetList) 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 *MachineSetSpec) DeepCopyInto(out *MachineSetSpec) {
|
|
*out = *in
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
in.Selector.DeepCopyInto(&out.Selector)
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetSpec.
|
|
func (in *MachineSetSpec) DeepCopy() *MachineSetSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineSetSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineSetStatus) DeepCopyInto(out *MachineSetStatus) {
|
|
*out = *in
|
|
if in.FailureReason != nil {
|
|
in, out := &in.FailureReason, &out.FailureReason
|
|
*out = new(errors.MachineSetStatusError)
|
|
**out = **in
|
|
}
|
|
if in.FailureMessage != nil {
|
|
in, out := &in.FailureMessage, &out.FailureMessage
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetStatus.
|
|
func (in *MachineSetStatus) DeepCopy() *MachineSetStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineSetStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineSpec) DeepCopyInto(out *MachineSpec) {
|
|
*out = *in
|
|
in.Bootstrap.DeepCopyInto(&out.Bootstrap)
|
|
out.InfrastructureRef = in.InfrastructureRef
|
|
if in.Version != nil {
|
|
in, out := &in.Version, &out.Version
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ProviderID != nil {
|
|
in, out := &in.ProviderID, &out.ProviderID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.FailureDomain != nil {
|
|
in, out := &in.FailureDomain, &out.FailureDomain
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.NodeDrainTimeout != nil {
|
|
in, out := &in.NodeDrainTimeout, &out.NodeDrainTimeout
|
|
*out = new(metav1.Duration)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec.
|
|
func (in *MachineSpec) DeepCopy() *MachineSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineStatus) DeepCopyInto(out *MachineStatus) {
|
|
*out = *in
|
|
if in.NodeRef != nil {
|
|
in, out := &in.NodeRef, &out.NodeRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.NodeInfo != nil {
|
|
in, out := &in.NodeInfo, &out.NodeInfo
|
|
*out = new(v1.NodeSystemInfo)
|
|
**out = **in
|
|
}
|
|
if in.LastUpdated != nil {
|
|
in, out := &in.LastUpdated, &out.LastUpdated
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.FailureReason != nil {
|
|
in, out := &in.FailureReason, &out.FailureReason
|
|
*out = new(errors.MachineStatusError)
|
|
**out = **in
|
|
}
|
|
if in.FailureMessage != nil {
|
|
in, out := &in.FailureMessage, &out.FailureMessage
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Addresses != nil {
|
|
in, out := &in.Addresses, &out.Addresses
|
|
*out = make(MachineAddresses, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus.
|
|
func (in *MachineStatus) DeepCopy() *MachineStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineTemplateSpec) DeepCopyInto(out *MachineTemplateSpec) {
|
|
*out = *in
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineTemplateSpec.
|
|
func (in *MachineTemplateSpec) DeepCopy() *MachineTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NetworkRanges) DeepCopyInto(out *NetworkRanges) {
|
|
*out = *in
|
|
if in.CIDRBlocks != nil {
|
|
in, out := &in.CIDRBlocks, &out.CIDRBlocks
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRanges.
|
|
func (in *NetworkRanges) DeepCopy() *NetworkRanges {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NetworkRanges)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) {
|
|
*out = *in
|
|
if in.Labels != nil {
|
|
in, out := &in.Labels, &out.Labels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Annotations != nil {
|
|
in, out := &in.Annotations, &out.Annotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta.
|
|
func (in *ObjectMeta) DeepCopy() *ObjectMeta {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ObjectMeta)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Topology) DeepCopyInto(out *Topology) {
|
|
*out = *in
|
|
if in.RolloutAfter != nil {
|
|
in, out := &in.RolloutAfter, &out.RolloutAfter
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
in.ControlPlane.DeepCopyInto(&out.ControlPlane)
|
|
if in.Workers != nil {
|
|
in, out := &in.Workers, &out.Workers
|
|
*out = new(WorkersTopology)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topology.
|
|
func (in *Topology) DeepCopy() *Topology {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Topology)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UnhealthyCondition) DeepCopyInto(out *UnhealthyCondition) {
|
|
*out = *in
|
|
out.Timeout = in.Timeout
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnhealthyCondition.
|
|
func (in *UnhealthyCondition) DeepCopy() *UnhealthyCondition {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UnhealthyCondition)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkersClass) DeepCopyInto(out *WorkersClass) {
|
|
*out = *in
|
|
if in.MachineDeployments != nil {
|
|
in, out := &in.MachineDeployments, &out.MachineDeployments
|
|
*out = make([]MachineDeploymentClass, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkersClass.
|
|
func (in *WorkersClass) DeepCopy() *WorkersClass {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkersClass)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkersTopology) DeepCopyInto(out *WorkersTopology) {
|
|
*out = *in
|
|
if in.MachineDeployments != nil {
|
|
in, out := &in.MachineDeployments, &out.MachineDeployments
|
|
*out = make([]MachineDeploymentTopology, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkersTopology.
|
|
func (in *WorkersTopology) DeepCopy() *WorkersTopology {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkersTopology)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|