v1alpha2

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the bootstrap v1alpha2 API group.

+kubebuilder:object:generate=true +groupName=bootstrap.cluster.x-k8s.io

Index

Constants

View Source
const (
	// ConfigFinalizer allows us to clean up resources before deletion
	ConfigFinalizer = "talosconfig.bootstrap.cluster.x-k8s.io"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "bootstrap.cluster.x-k8s.io", Version: "v1alpha2"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Convert_v1alpha2_TalosConfigList_To_v1alpha3_TalosConfigList

func Convert_v1alpha2_TalosConfigList_To_v1alpha3_TalosConfigList(in *TalosConfigList, out *v1alpha3.TalosConfigList, s conversion.Scope) error

Convert_v1alpha2_TalosConfigList_To_v1alpha3_TalosConfigList is an autogenerated conversion function.

func Convert_v1alpha2_TalosConfigSpec_To_v1alpha3_TalosConfigSpec

func Convert_v1alpha2_TalosConfigSpec_To_v1alpha3_TalosConfigSpec(in *TalosConfigSpec, out *bootstrapv1alpha3.TalosConfigSpec, s apiconversion.Scope) error

Convert_v1alpha2_TalosConfigSpec_To_v1alpha3_TalosConfigSpec converts this TalosConfigSpec to the Hub version (v1alpha3).

func Convert_v1alpha2_TalosConfigStatus_To_v1alpha3_TalosConfigStatus

func Convert_v1alpha2_TalosConfigStatus_To_v1alpha3_TalosConfigStatus(in *TalosConfigStatus, out *bootstrapv1alpha3.TalosConfigStatus, s apiconversion.Scope) error

Convert_v1alpha2_TalosConfigStatus_To_v1alpha3_TalosConfigStatus converts this TalosConfigStatus to the Hub version (v1alpha3).

func Convert_v1alpha2_TalosConfigTemplateList_To_v1alpha3_TalosConfigTemplateList

func Convert_v1alpha2_TalosConfigTemplateList_To_v1alpha3_TalosConfigTemplateList(in *TalosConfigTemplateList, out *v1alpha3.TalosConfigTemplateList, s conversion.Scope) error

Convert_v1alpha2_TalosConfigTemplateList_To_v1alpha3_TalosConfigTemplateList is an autogenerated conversion function.

func Convert_v1alpha2_TalosConfigTemplateResource_To_v1alpha3_TalosConfigTemplateResource

func Convert_v1alpha2_TalosConfigTemplateResource_To_v1alpha3_TalosConfigTemplateResource(in *TalosConfigTemplateResource, out *v1alpha3.TalosConfigTemplateResource, s conversion.Scope) error

Convert_v1alpha2_TalosConfigTemplateResource_To_v1alpha3_TalosConfigTemplateResource is an autogenerated conversion function.

func Convert_v1alpha2_TalosConfigTemplateSpec_To_v1alpha3_TalosConfigTemplateSpec

func Convert_v1alpha2_TalosConfigTemplateSpec_To_v1alpha3_TalosConfigTemplateSpec(in *TalosConfigTemplateSpec, out *v1alpha3.TalosConfigTemplateSpec, s conversion.Scope) error

Convert_v1alpha2_TalosConfigTemplateSpec_To_v1alpha3_TalosConfigTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha2_TalosConfigTemplate_To_v1alpha3_TalosConfigTemplate

func Convert_v1alpha2_TalosConfigTemplate_To_v1alpha3_TalosConfigTemplate(in *TalosConfigTemplate, out *v1alpha3.TalosConfigTemplate, s conversion.Scope) error

Convert_v1alpha2_TalosConfigTemplate_To_v1alpha3_TalosConfigTemplate is an autogenerated conversion function.

func Convert_v1alpha2_TalosConfig_To_v1alpha3_TalosConfig

func Convert_v1alpha2_TalosConfig_To_v1alpha3_TalosConfig(in *TalosConfig, out *v1alpha3.TalosConfig, s conversion.Scope) error

Convert_v1alpha2_TalosConfig_To_v1alpha3_TalosConfig is an autogenerated conversion function.

func Convert_v1alpha3_TalosConfigList_To_v1alpha2_TalosConfigList

func Convert_v1alpha3_TalosConfigList_To_v1alpha2_TalosConfigList(in *v1alpha3.TalosConfigList, out *TalosConfigList, s conversion.Scope) error

Convert_v1alpha3_TalosConfigList_To_v1alpha2_TalosConfigList is an autogenerated conversion function.

func Convert_v1alpha3_TalosConfigSpec_To_v1alpha2_TalosConfigSpec

func Convert_v1alpha3_TalosConfigSpec_To_v1alpha2_TalosConfigSpec(in *bootstrapv1alpha3.TalosConfigSpec, out *TalosConfigSpec, s apiconversion.Scope) error

Convert_v1alpha3_TalosConfigSpec_To_v1alpha2_TalosConfigSpec converts from the Hub version (v1alpha3) of the TalosConfigSpec to this version.

func Convert_v1alpha3_TalosConfigStatus_To_v1alpha2_TalosConfigStatus

func Convert_v1alpha3_TalosConfigStatus_To_v1alpha2_TalosConfigStatus(in *bootstrapv1alpha3.TalosConfigStatus, out *TalosConfigStatus, s apiconversion.Scope) error

Convert_v1alpha3_TalosConfigStatus_To_v1alpha2_TalosConfigStatus converts from the Hub version (v1alpha3) of the TalosConfigStatus to this version.

func Convert_v1alpha3_TalosConfigTemplateList_To_v1alpha2_TalosConfigTemplateList

func Convert_v1alpha3_TalosConfigTemplateList_To_v1alpha2_TalosConfigTemplateList(in *v1alpha3.TalosConfigTemplateList, out *TalosConfigTemplateList, s conversion.Scope) error

Convert_v1alpha3_TalosConfigTemplateList_To_v1alpha2_TalosConfigTemplateList is an autogenerated conversion function.

func Convert_v1alpha3_TalosConfigTemplateResource_To_v1alpha2_TalosConfigTemplateResource

func Convert_v1alpha3_TalosConfigTemplateResource_To_v1alpha2_TalosConfigTemplateResource(in *v1alpha3.TalosConfigTemplateResource, out *TalosConfigTemplateResource, s conversion.Scope) error

Convert_v1alpha3_TalosConfigTemplateResource_To_v1alpha2_TalosConfigTemplateResource is an autogenerated conversion function.

func Convert_v1alpha3_TalosConfigTemplateSpec_To_v1alpha2_TalosConfigTemplateSpec

func Convert_v1alpha3_TalosConfigTemplateSpec_To_v1alpha2_TalosConfigTemplateSpec(in *v1alpha3.TalosConfigTemplateSpec, out *TalosConfigTemplateSpec, s conversion.Scope) error

Convert_v1alpha3_TalosConfigTemplateSpec_To_v1alpha2_TalosConfigTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha3_TalosConfigTemplate_To_v1alpha2_TalosConfigTemplate

func Convert_v1alpha3_TalosConfigTemplate_To_v1alpha2_TalosConfigTemplate(in *v1alpha3.TalosConfigTemplate, out *TalosConfigTemplate, s conversion.Scope) error

Convert_v1alpha3_TalosConfigTemplate_To_v1alpha2_TalosConfigTemplate is an autogenerated conversion function.

func Convert_v1alpha3_TalosConfig_To_v1alpha2_TalosConfig

func Convert_v1alpha3_TalosConfig_To_v1alpha2_TalosConfig(in *v1alpha3.TalosConfig, out *TalosConfig, s conversion.Scope) error

Convert_v1alpha3_TalosConfig_To_v1alpha2_TalosConfig is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

Types

type Device

type Device struct {
	Interface string `json:"interface"`
	Ignore    bool   `json:"ignore"`
}

Device represents a network interface.

func (*Device) DeepCopy

func (in *Device) DeepCopy() *Device

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Device.

func (*Device) DeepCopyInto

func (in *Device) DeepCopyInto(out *Device)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TalosConfig

type TalosConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TalosConfigSpec   `json:"spec,omitempty"`
	Status TalosConfigStatus `json:"status,omitempty"`
}

TalosConfig is the Schema for the talosconfigs API

func (*TalosConfig) ConvertFrom

func (dst *TalosConfig) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the TalosConfig Hub version (v1alpha3) to this version.

func (*TalosConfig) ConvertTo

func (src *TalosConfig) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this TalosConfig to the Hub version (v1alpha3).

func (*TalosConfig) DeepCopy

func (in *TalosConfig) DeepCopy() *TalosConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TalosConfig.

func (*TalosConfig) DeepCopyInto

func (in *TalosConfig) DeepCopyInto(out *TalosConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TalosConfig) DeepCopyObject

func (in *TalosConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TalosConfigList

type TalosConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TalosConfig `json:"items"`
}

TalosConfigList contains a list of TalosConfig

func (*TalosConfigList) ConvertFrom

func (dst *TalosConfigList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the TalosConfigList Hub version (v1alpha3) to this version.

func (*TalosConfigList) ConvertTo

func (src *TalosConfigList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this TalosConfigList to the Hub version (v1alpha3).

func (*TalosConfigList) DeepCopy

func (in *TalosConfigList) DeepCopy() *TalosConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TalosConfigList.

func (*TalosConfigList) DeepCopyInto

func (in *TalosConfigList) DeepCopyInto(out *TalosConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TalosConfigList) DeepCopyObject

func (in *TalosConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TalosConfigSpec

type TalosConfigSpec struct {
	GenerateType string `json:"generateType"` //none,init,controlplane,worker mutually exclusive w/ data
	Data         string `json:"data,omitempty"`
}

TalosConfigSpec defines the desired state of TalosConfig

func (*TalosConfigSpec) DeepCopy

func (in *TalosConfigSpec) DeepCopy() *TalosConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TalosConfigSpec.

func (*TalosConfigSpec) DeepCopyInto

func (in *TalosConfigSpec) DeepCopyInto(out *TalosConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TalosConfigStatus

type TalosConfigStatus struct {
	// Ready indicates the BootstrapData field is ready to be consumed
	Ready bool `json:"ready,omitempty"`

	// BootstrapData will be a slice of bootstrap data
	// +optional
	BootstrapData []byte `json:"bootstrapData,omitempty"`

	// Talos config will be a string containing the config for download
	// +optional
	TalosConfig string `json:"talosConfig,omitempty"`

	// ErrorReason will be set on non-retryable errors
	// +optional
	ErrorReason string `json:"errorReason,omitempty"`

	// ErrorMessage will be set on non-retryable errors
	// +optional
	ErrorMessage string `json:"errorMessage,omitempty"`
}

TalosConfigStatus defines the observed state of TalosConfig

func (*TalosConfigStatus) DeepCopy

func (in *TalosConfigStatus) DeepCopy() *TalosConfigStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TalosConfigStatus.

func (*TalosConfigStatus) DeepCopyInto

func (in *TalosConfigStatus) DeepCopyInto(out *TalosConfigStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TalosConfigTemplate

type TalosConfigTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec TalosConfigTemplateSpec `json:"spec,omitempty"`
}

TalosConfigTemplate is the Schema for the talosconfigtemplates API

func (*TalosConfigTemplate) ConvertFrom

func (dst *TalosConfigTemplate) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the TalosConfigTemplate Hub version (v1alpha3) to this version.

func (*TalosConfigTemplate) ConvertTo

func (src *TalosConfigTemplate) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this TalosConfigTemplate to the Hub version (v1alpha3).

func (*TalosConfigTemplate) DeepCopy

func (in *TalosConfigTemplate) DeepCopy() *TalosConfigTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TalosConfigTemplate.

func (*TalosConfigTemplate) DeepCopyInto

func (in *TalosConfigTemplate) DeepCopyInto(out *TalosConfigTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TalosConfigTemplate) DeepCopyObject

func (in *TalosConfigTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TalosConfigTemplateList

type TalosConfigTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TalosConfigTemplate `json:"items"`
}

TalosConfigTemplateList contains a list of TalosConfigTemplate

func (*TalosConfigTemplateList) ConvertFrom

func (dst *TalosConfigTemplateList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the TalosConfigTemplateList Hub version (v1alpha3) to this version.

func (*TalosConfigTemplateList) ConvertTo

func (src *TalosConfigTemplateList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this TalosConfigTemplateList to the Hub version (v1alpha3).

func (*TalosConfigTemplateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TalosConfigTemplateList.

func (*TalosConfigTemplateList) DeepCopyInto

func (in *TalosConfigTemplateList) DeepCopyInto(out *TalosConfigTemplateList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TalosConfigTemplateList) DeepCopyObject

func (in *TalosConfigTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TalosConfigTemplateResource

type TalosConfigTemplateResource struct {
	Spec TalosConfigSpec `json:"spec,omitempty"`
}

TalosConfigTemplateResource defines the Template structure

func (*TalosConfigTemplateResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TalosConfigTemplateResource.

func (*TalosConfigTemplateResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TalosConfigTemplateSpec

type TalosConfigTemplateSpec struct {
	Template TalosConfigTemplateResource `json:"template"`
}

TalosConfigTemplateSpec defines the desired state of TalosConfigTemplate

func (*TalosConfigTemplateSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TalosConfigTemplateSpec.

func (*TalosConfigTemplateSpec) DeepCopyInto

func (in *TalosConfigTemplateSpec) DeepCopyInto(out *TalosConfigTemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL