v1alpha1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io

Index

Constants

View Source
const (
	DefaultTagTemplate = `{{ .K8sVersion }}-
{{- if (contains (toLower .OSImage) "ubuntu") -}}
	ubuntu
{{- else -}}
	unknown
{{- end -}}
	-{{ .Arch }}`

	DefaultInstallTemplate = `` /* 1382-byte string literal not displayed */

	DefaultUninstallTemplate = `` /* 946-byte string literal not displayed */

)

Variables

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

	// 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

This section is empty.

Types

type BothInstallerConfig

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

	Spec   BothInstallerConfigSpec   `json:"spec,omitempty"`
	Status BothInstallerConfigStatus `json:"status,omitempty"`
}

BothInstallerConfig is the Schema for the bothinstallerconfigs API

func (*BothInstallerConfig) DeepCopy

func (in *BothInstallerConfig) DeepCopy() *BothInstallerConfig

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

func (*BothInstallerConfig) DeepCopyInto

func (in *BothInstallerConfig) DeepCopyInto(out *BothInstallerConfig)

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

func (*BothInstallerConfig) DeepCopyObject

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

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

type BothInstallerConfigList

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

BothInstallerConfigList contains a list of BothInstallerConfig

func (*BothInstallerConfigList) DeepCopy

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

func (*BothInstallerConfigList) DeepCopyInto

func (in *BothInstallerConfigList) DeepCopyInto(out *BothInstallerConfigList)

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

func (*BothInstallerConfigList) DeepCopyObject

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

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

type BothInstallerConfigSpec

type BothInstallerConfigSpec struct {
	InstallTemplate   *string `json:"installTemplate,omitempty"`
	UninstallTemplate *string `json:"uninstallTemplate,omitempty"`
	Repository        *string `json:"repository,omitempty"`
	TagTemplate       *string `json:"tagNameTemplate,omitempty"`
}

BothInstallerConfigSpec defines the desired state of BothInstallerConfig

func (*BothInstallerConfigSpec) DeepCopy

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

func (*BothInstallerConfigSpec) DeepCopyInto

func (in *BothInstallerConfigSpec) DeepCopyInto(out *BothInstallerConfigSpec)

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

type BothInstallerConfigStatus

type BothInstallerConfigStatus struct {

	// Ready indicates the InstallationSecret field is ready to be consumed
	// +optional
	Ready bool `json:"ready,omitempty"`

	// InstallationSecret is an optional reference to a generated installation secret by K8sInstallerConfig controller
	// +optional
	InstallationSecret *corev1.ObjectReference `json:"installationSecret,omitempty"`
}

BothInstallerConfigStatus defines the observed state of BothInstallerConfig

func (*BothInstallerConfigStatus) DeepCopy

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

func (*BothInstallerConfigStatus) DeepCopyInto

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

type BothInstallerConfigTemplate

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

	Spec   BothInstallerConfigTemplateSpec   `json:"spec,omitempty"`
	Status BothInstallerConfigTemplateStatus `json:"status,omitempty"`
}

BothInstallerConfigTemplate is the Schema for the bothinstallerconfigtemplates API

func (*BothInstallerConfigTemplate) DeepCopy

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

func (*BothInstallerConfigTemplate) DeepCopyInto

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

func (*BothInstallerConfigTemplate) DeepCopyObject

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

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

type BothInstallerConfigTemplateList

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

BothInstallerConfigTemplateList contains a list of BothInstallerConfigTemplate

func (*BothInstallerConfigTemplateList) DeepCopy

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

func (*BothInstallerConfigTemplateList) DeepCopyInto

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

func (*BothInstallerConfigTemplateList) DeepCopyObject

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

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

type BothInstallerConfigTemplateResource

type BothInstallerConfigTemplateResource struct {
	// Spec is the specification of the desired behavior of the installer config.
	Spec BothInstallerConfigSpec `json:"spec"`
}

func (*BothInstallerConfigTemplateResource) DeepCopy

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

func (*BothInstallerConfigTemplateResource) DeepCopyInto

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

type BothInstallerConfigTemplateSpec

type BothInstallerConfigTemplateSpec struct {
	Template BothInstallerConfigTemplateResource `json:"template"`
}

BothInstallerConfigTemplateSpec defines the desired state of BothInstallerConfigTemplate

func (*BothInstallerConfigTemplateSpec) DeepCopy

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

func (*BothInstallerConfigTemplateSpec) DeepCopyInto

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

type BothInstallerConfigTemplateStatus

type BothInstallerConfigTemplateStatus struct {
}

BothInstallerConfigTemplateStatus defines the observed state of BothInstallerConfigTemplate

func (*BothInstallerConfigTemplateStatus) DeepCopy

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

func (*BothInstallerConfigTemplateStatus) DeepCopyInto

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