mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-27 19:52:49 +00:00
806 lines
23 KiB
Go
806 lines
23 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2022 The KubeSphere 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/apimachinery/pkg/runtime"
|
|
apiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1"
|
|
"sigs.k8s.io/cluster-api/errors"
|
|
timex "time"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Auth) DeepCopyInto(out *Auth) {
|
|
*out = *in
|
|
if in.Port != nil {
|
|
in, out := &in.Port, &out.Port
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.Timeout != nil {
|
|
in, out := &in.Timeout, &out.Timeout
|
|
*out = new(timex.Duration)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Auth.
|
|
func (in *Auth) DeepCopy() *Auth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Auth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Checksum) DeepCopyInto(out *Checksum) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Checksum.
|
|
func (in *Checksum) DeepCopy() *Checksum {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Checksum)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Component) DeepCopyInto(out *Component) {
|
|
*out = *in
|
|
if in.Overrides != nil {
|
|
in, out := &in.Overrides, &out.Overrides
|
|
*out = make([]Override, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
|
|
func (in *Component) DeepCopy() *Component {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Component)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ContainerManager) DeepCopyInto(out *ContainerManager) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerManager.
|
|
func (in *ContainerManager) DeepCopy() *ContainerManager {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ContainerManager)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *InstanceInfo) DeepCopyInto(out *InstanceInfo) {
|
|
*out = *in
|
|
if in.Roles != nil {
|
|
in, out := &in.Roles, &out.Roles
|
|
*out = make([]Role, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
in.Auth.DeepCopyInto(&out.Auth)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceInfo.
|
|
func (in *InstanceInfo) DeepCopy() *InstanceInfo {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InstanceInfo)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKCluster) DeepCopyInto(out *KKCluster) {
|
|
*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 KKCluster.
|
|
func (in *KKCluster) DeepCopy() *KKCluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKCluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KKCluster) 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 *KKClusterList) DeepCopyInto(out *KKClusterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KKCluster, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKClusterList.
|
|
func (in *KKClusterList) DeepCopy() *KKClusterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKClusterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KKClusterList) 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 *KKClusterSpec) DeepCopyInto(out *KKClusterSpec) {
|
|
*out = *in
|
|
in.Nodes.DeepCopyInto(&out.Nodes)
|
|
out.ControlPlaneEndpoint = in.ControlPlaneEndpoint
|
|
if in.ControlPlaneLoadBalancer != nil {
|
|
in, out := &in.ControlPlaneLoadBalancer, &out.ControlPlaneLoadBalancer
|
|
*out = new(KKLoadBalancerSpec)
|
|
**out = **in
|
|
}
|
|
if in.Component != nil {
|
|
in, out := &in.Component, &out.Component
|
|
*out = new(Component)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.Registry.DeepCopyInto(&out.Registry)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKClusterSpec.
|
|
func (in *KKClusterSpec) DeepCopy() *KKClusterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKClusterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKClusterStatus) DeepCopyInto(out *KKClusterStatus) {
|
|
*out = *in
|
|
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.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(apiv1beta1.Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKClusterStatus.
|
|
func (in *KKClusterStatus) DeepCopy() *KKClusterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKClusterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKClusterTemplate) DeepCopyInto(out *KKClusterTemplate) {
|
|
*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 KKClusterTemplate.
|
|
func (in *KKClusterTemplate) DeepCopy() *KKClusterTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKClusterTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KKClusterTemplate) 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 *KKClusterTemplateList) DeepCopyInto(out *KKClusterTemplateList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KKClusterTemplate, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKClusterTemplateList.
|
|
func (in *KKClusterTemplateList) DeepCopy() *KKClusterTemplateList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKClusterTemplateList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KKClusterTemplateList) 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 *KKClusterTemplateResource) DeepCopyInto(out *KKClusterTemplateResource) {
|
|
*out = *in
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKClusterTemplateResource.
|
|
func (in *KKClusterTemplateResource) DeepCopy() *KKClusterTemplateResource {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKClusterTemplateResource)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKClusterTemplateSpec) DeepCopyInto(out *KKClusterTemplateSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKClusterTemplateSpec.
|
|
func (in *KKClusterTemplateSpec) DeepCopy() *KKClusterTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKClusterTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKInstance) DeepCopyInto(out *KKInstance) {
|
|
*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 KKInstance.
|
|
func (in *KKInstance) DeepCopy() *KKInstance {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKInstance)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KKInstance) 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 *KKInstanceList) DeepCopyInto(out *KKInstanceList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KKInstance, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKInstanceList.
|
|
func (in *KKInstanceList) DeepCopy() *KKInstanceList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKInstanceList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KKInstanceList) 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 *KKInstanceSpec) DeepCopyInto(out *KKInstanceSpec) {
|
|
*out = *in
|
|
if in.Roles != nil {
|
|
in, out := &in.Roles, &out.Roles
|
|
*out = make([]Role, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
in.Auth.DeepCopyInto(&out.Auth)
|
|
out.ContainerManager = in.ContainerManager
|
|
if in.Repository != nil {
|
|
in, out := &in.Repository, &out.Repository
|
|
*out = new(Repository)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKInstanceSpec.
|
|
func (in *KKInstanceSpec) DeepCopy() *KKInstanceSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKInstanceSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKInstanceStatus) DeepCopyInto(out *KKInstanceStatus) {
|
|
*out = *in
|
|
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.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(apiv1beta1.Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKInstanceStatus.
|
|
func (in *KKInstanceStatus) DeepCopy() *KKInstanceStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKInstanceStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKLoadBalancerSpec) DeepCopyInto(out *KKLoadBalancerSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKLoadBalancerSpec.
|
|
func (in *KKLoadBalancerSpec) DeepCopy() *KKLoadBalancerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKLoadBalancerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKMachine) DeepCopyInto(out *KKMachine) {
|
|
*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 KKMachine.
|
|
func (in *KKMachine) DeepCopy() *KKMachine {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKMachine)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KKMachine) 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 *KKMachineList) DeepCopyInto(out *KKMachineList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KKMachine, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKMachineList.
|
|
func (in *KKMachineList) DeepCopy() *KKMachineList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKMachineList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KKMachineList) 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 *KKMachineSpec) DeepCopyInto(out *KKMachineSpec) {
|
|
*out = *in
|
|
if in.ProviderID != nil {
|
|
in, out := &in.ProviderID, &out.ProviderID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.InstanceID != nil {
|
|
in, out := &in.InstanceID, &out.InstanceID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Roles != nil {
|
|
in, out := &in.Roles, &out.Roles
|
|
*out = make([]Role, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.ContainerManager = in.ContainerManager
|
|
if in.Repository != nil {
|
|
in, out := &in.Repository, &out.Repository
|
|
*out = new(Repository)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKMachineSpec.
|
|
func (in *KKMachineSpec) DeepCopy() *KKMachineSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKMachineSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKMachineStatus) DeepCopyInto(out *KKMachineStatus) {
|
|
*out = *in
|
|
if in.Addresses != nil {
|
|
in, out := &in.Addresses, &out.Addresses
|
|
*out = make([]apiv1beta1.MachineAddress, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.InstanceState != nil {
|
|
in, out := &in.InstanceState, &out.InstanceState
|
|
*out = new(InstanceState)
|
|
**out = **in
|
|
}
|
|
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.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(apiv1beta1.Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKMachineStatus.
|
|
func (in *KKMachineStatus) DeepCopy() *KKMachineStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKMachineStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKMachineTemplate) DeepCopyInto(out *KKMachineTemplate) {
|
|
*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 KKMachineTemplate.
|
|
func (in *KKMachineTemplate) DeepCopy() *KKMachineTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKMachineTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KKMachineTemplate) 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 *KKMachineTemplateList) DeepCopyInto(out *KKMachineTemplateList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KKMachineTemplate, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKMachineTemplateList.
|
|
func (in *KKMachineTemplateList) DeepCopy() *KKMachineTemplateList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKMachineTemplateList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KKMachineTemplateList) 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 *KKMachineTemplateResource) DeepCopyInto(out *KKMachineTemplateResource) {
|
|
*out = *in
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKMachineTemplateResource.
|
|
func (in *KKMachineTemplateResource) DeepCopy() *KKMachineTemplateResource {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKMachineTemplateResource)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KKMachineTemplateSpec) DeepCopyInto(out *KKMachineTemplateSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KKMachineTemplateSpec.
|
|
func (in *KKMachineTemplateSpec) DeepCopy() *KKMachineTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KKMachineTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Nodes) DeepCopyInto(out *Nodes) {
|
|
*out = *in
|
|
in.Auth.DeepCopyInto(&out.Auth)
|
|
if in.Instances != nil {
|
|
in, out := &in.Instances, &out.Instances
|
|
*out = make([]InstanceInfo, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodes.
|
|
func (in *Nodes) DeepCopy() *Nodes {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Nodes)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Override) DeepCopyInto(out *Override) {
|
|
*out = *in
|
|
out.Checksum = in.Checksum
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Override.
|
|
func (in *Override) DeepCopy() *Override {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Override)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Registry) DeepCopyInto(out *Registry) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
if in.InsecureRegistries != nil {
|
|
in, out := &in.InsecureRegistries, &out.InsecureRegistries
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RegistryMirrors != nil {
|
|
in, out := &in.RegistryMirrors, &out.RegistryMirrors
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.Auth = in.Auth
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry.
|
|
func (in *Registry) DeepCopy() *Registry {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Registry)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Registry) 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 *RegistryAuth) DeepCopyInto(out *RegistryAuth) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryAuth.
|
|
func (in *RegistryAuth) DeepCopy() *RegistryAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RegistryAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Repository) DeepCopyInto(out *Repository) {
|
|
*out = *in
|
|
if in.Packages != nil {
|
|
in, out := &in.Packages, &out.Packages
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
|
|
func (in *Repository) DeepCopy() *Repository {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Repository)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|