mirror of
https://github.com/siderolabs/sidero.git
synced 2025-10-20 20:11:10 +02:00
462 lines
14 KiB
Go
462 lines
14 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
package v1alpha3
|
|
|
|
import (
|
|
v1 "k8s.io/api/core/v1"
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
"sigs.k8s.io/cluster-api/api/v1beta1"
|
|
"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 *MetalCluster) DeepCopyInto(out *MetalCluster) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalCluster.
|
|
func (in *MetalCluster) DeepCopy() *MetalCluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalCluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MetalCluster) 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 *MetalClusterList) DeepCopyInto(out *MetalClusterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]MetalCluster, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalClusterList.
|
|
func (in *MetalClusterList) DeepCopy() *MetalClusterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalClusterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MetalClusterList) 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 *MetalClusterSpec) DeepCopyInto(out *MetalClusterSpec) {
|
|
*out = *in
|
|
out.ControlPlaneEndpoint = in.ControlPlaneEndpoint
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalClusterSpec.
|
|
func (in *MetalClusterSpec) DeepCopy() *MetalClusterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalClusterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MetalClusterStatus) DeepCopyInto(out *MetalClusterStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalClusterStatus.
|
|
func (in *MetalClusterStatus) DeepCopy() *MetalClusterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalClusterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MetalMachine) DeepCopyInto(out *MetalMachine) {
|
|
*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 MetalMachine.
|
|
func (in *MetalMachine) DeepCopy() *MetalMachine {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalMachine)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MetalMachine) 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 *MetalMachineList) DeepCopyInto(out *MetalMachineList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]MetalMachine, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineList.
|
|
func (in *MetalMachineList) DeepCopy() *MetalMachineList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalMachineList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MetalMachineList) 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 *MetalMachineSpec) DeepCopyInto(out *MetalMachineSpec) {
|
|
*out = *in
|
|
if in.ProviderID != nil {
|
|
in, out := &in.ProviderID, &out.ProviderID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ServerRef != nil {
|
|
in, out := &in.ServerRef, &out.ServerRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.ServerClassRef != nil {
|
|
in, out := &in.ServerClassRef, &out.ServerClassRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineSpec.
|
|
func (in *MetalMachineSpec) DeepCopy() *MetalMachineSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalMachineSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MetalMachineStatus) DeepCopyInto(out *MetalMachineStatus) {
|
|
*out = *in
|
|
if in.Addresses != nil {
|
|
in, out := &in.Addresses, &out.Addresses
|
|
*out = make([]v1beta1.MachineAddress, len(*in))
|
|
copy(*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(v1beta1.Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineStatus.
|
|
func (in *MetalMachineStatus) DeepCopy() *MetalMachineStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalMachineStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MetalMachineTemplate) DeepCopyInto(out *MetalMachineTemplate) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplate.
|
|
func (in *MetalMachineTemplate) DeepCopy() *MetalMachineTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalMachineTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MetalMachineTemplate) 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 *MetalMachineTemplateList) DeepCopyInto(out *MetalMachineTemplateList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]MetalMachineTemplate, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplateList.
|
|
func (in *MetalMachineTemplateList) DeepCopy() *MetalMachineTemplateList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalMachineTemplateList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MetalMachineTemplateList) 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 *MetalMachineTemplateResource) DeepCopyInto(out *MetalMachineTemplateResource) {
|
|
*out = *in
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplateResource.
|
|
func (in *MetalMachineTemplateResource) DeepCopy() *MetalMachineTemplateResource {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalMachineTemplateResource)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MetalMachineTemplateSpec) DeepCopyInto(out *MetalMachineTemplateSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplateSpec.
|
|
func (in *MetalMachineTemplateSpec) DeepCopy() *MetalMachineTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalMachineTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MetalMachineTemplateStatus) DeepCopyInto(out *MetalMachineTemplateStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplateStatus.
|
|
func (in *MetalMachineTemplateStatus) DeepCopy() *MetalMachineTemplateStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetalMachineTemplateStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServerBinding) DeepCopyInto(out *ServerBinding) {
|
|
*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 ServerBinding.
|
|
func (in *ServerBinding) DeepCopy() *ServerBinding {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServerBinding)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ServerBinding) 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 *ServerBindingList) DeepCopyInto(out *ServerBindingList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ServerBinding, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerBindingList.
|
|
func (in *ServerBindingList) DeepCopy() *ServerBindingList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServerBindingList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ServerBindingList) 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 *ServerBindingSpec) DeepCopyInto(out *ServerBindingSpec) {
|
|
*out = *in
|
|
if in.ServerClassRef != nil {
|
|
in, out := &in.ServerClassRef, &out.ServerClassRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
out.MetalMachineRef = in.MetalMachineRef
|
|
out.SideroLink = in.SideroLink
|
|
if in.Addresses != nil {
|
|
in, out := &in.Addresses, &out.Addresses
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerBindingSpec.
|
|
func (in *ServerBindingSpec) DeepCopy() *ServerBindingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServerBindingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServerBindingState) DeepCopyInto(out *ServerBindingState) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(v1beta1.Conditions, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerBindingState.
|
|
func (in *ServerBindingState) DeepCopy() *ServerBindingState {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServerBindingState)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SideroLinkSpec) DeepCopyInto(out *SideroLinkSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SideroLinkSpec.
|
|
func (in *SideroLinkSpec) DeepCopy() *SideroLinkSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SideroLinkSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|