v1alpha3

package
v0.2.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	// ClusterFinalizer allows ReconcileMetalCluster to clean up resources before removing it from the apiserver.
	ClusterFinalizer = "metalcluster.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// MachineFinalizer allows ReconcileMetalMachine to clean up resources before removing it from the apiserver.
	MachineFinalizer = "metalmachine.infrastructure.cluster.x-k8s.io"
)

Variables

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

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

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

	Spec   MetalClusterSpec   `json:"spec,omitempty"`
	Status MetalClusterStatus `json:"status,omitempty"`
}

MetalCluster is the Schema for the metalclusters API

func (*MetalCluster) DeepCopy

func (in *MetalCluster) DeepCopy() *MetalCluster

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

func (*MetalCluster) DeepCopyInto

func (in *MetalCluster) DeepCopyInto(out *MetalCluster)

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

func (*MetalCluster) DeepCopyObject

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

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

func (*MetalCluster) Hub

func (*MetalCluster) Hub()

func (*MetalCluster) SetupWebhookWithManager

func (r *MetalCluster) SetupWebhookWithManager(mgr ctrl.Manager) error

type MetalClusterList

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

MetalClusterList contains a list of MetalCluster

func (*MetalClusterList) DeepCopy

func (in *MetalClusterList) DeepCopy() *MetalClusterList

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

func (*MetalClusterList) DeepCopyInto

func (in *MetalClusterList) DeepCopyInto(out *MetalClusterList)

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

func (*MetalClusterList) DeepCopyObject

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

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

func (*MetalClusterList) Hub

func (*MetalClusterList) Hub()

func (*MetalClusterList) SetupWebhookWithManager

func (r *MetalClusterList) SetupWebhookWithManager(mgr ctrl.Manager) error

type MetalClusterSpec

type MetalClusterSpec struct {
	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// +optional
	ControlPlaneEndpoint capiv1.APIEndpoint `json:"controlPlaneEndpoint"`
}

MetalClusterSpec defines the desired state of MetalCluster

func (*MetalClusterSpec) DeepCopy

func (in *MetalClusterSpec) DeepCopy() *MetalClusterSpec

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

func (*MetalClusterSpec) DeepCopyInto

func (in *MetalClusterSpec) DeepCopyInto(out *MetalClusterSpec)

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

type MetalClusterStatus

type MetalClusterStatus struct {
	Ready bool `json:"ready"`
}

MetalClusterStatus defines the observed state of MetalCluster

func (*MetalClusterStatus) DeepCopy

func (in *MetalClusterStatus) DeepCopy() *MetalClusterStatus

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

func (*MetalClusterStatus) DeepCopyInto

func (in *MetalClusterStatus) DeepCopyInto(out *MetalClusterStatus)

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

type MetalMachine

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

	Spec   MetalMachineSpec   `json:"spec,omitempty"`
	Status MetalMachineStatus `json:"status,omitempty"`
}

MetalMachine is the Schema for the metalmachines API

func (*MetalMachine) DeepCopy

func (in *MetalMachine) DeepCopy() *MetalMachine

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

func (*MetalMachine) DeepCopyInto

func (in *MetalMachine) DeepCopyInto(out *MetalMachine)

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

func (*MetalMachine) DeepCopyObject

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

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

func (*MetalMachine) Hub

func (*MetalMachine) Hub()

func (*MetalMachine) SetupWebhookWithManager

func (r *MetalMachine) SetupWebhookWithManager(mgr ctrl.Manager) error

type MetalMachineList

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

MetalMachineList contains a list of MetalMachine

func (*MetalMachineList) DeepCopy

func (in *MetalMachineList) DeepCopy() *MetalMachineList

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

func (*MetalMachineList) DeepCopyInto

func (in *MetalMachineList) DeepCopyInto(out *MetalMachineList)

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

func (*MetalMachineList) DeepCopyObject

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

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

func (*MetalMachineList) Hub

func (*MetalMachineList) Hub()

func (*MetalMachineList) SetupWebhookWithManager

func (r *MetalMachineList) SetupWebhookWithManager(mgr ctrl.Manager) error

type MetalMachineSpec

type MetalMachineSpec struct {
	// ProviderID is the unique identifier as specified by the cloud provider.
	// +optional
	ProviderID *string `json:"providerID,omitempty"`

	ServerRef      *corev1.ObjectReference `json:"serverRef,omitempty"`
	ServerClassRef *corev1.ObjectReference `json:"serverClassRef,omitempty"`
}

MetalMachineSpec defines the desired state of MetalMachine

func (*MetalMachineSpec) DeepCopy

func (in *MetalMachineSpec) DeepCopy() *MetalMachineSpec

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

func (*MetalMachineSpec) DeepCopyInto

func (in *MetalMachineSpec) DeepCopyInto(out *MetalMachineSpec)

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

type MetalMachineStatus

type MetalMachineStatus struct {
	Ready bool `json:"ready"`

	// FailureReason will be set in the event that there is a terminal problem
	// reconciling the Machine and will contain a succinct value suitable
	// for machine interpretation.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Machine's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"`

	// FailureMessage will be set in the event that there is a terminal problem
	// reconciling the Machine and will contain a more verbose string suitable
	// for logging and human consumption.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Machine's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`
}

MetalMachineStatus defines the observed state of MetalMachine

func (*MetalMachineStatus) DeepCopy

func (in *MetalMachineStatus) DeepCopy() *MetalMachineStatus

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

func (*MetalMachineStatus) DeepCopyInto

func (in *MetalMachineStatus) DeepCopyInto(out *MetalMachineStatus)

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

type MetalMachineTemplate

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

	Spec   MetalMachineTemplateSpec   `json:"spec,omitempty"`
	Status MetalMachineTemplateStatus `json:"status,omitempty"`
}

MetalMachineTemplate is the Schema for the metalmachinetemplates API

func (*MetalMachineTemplate) DeepCopy

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

func (*MetalMachineTemplate) DeepCopyInto

func (in *MetalMachineTemplate) DeepCopyInto(out *MetalMachineTemplate)

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

func (*MetalMachineTemplate) DeepCopyObject

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

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

func (*MetalMachineTemplate) Hub

func (*MetalMachineTemplate) Hub()

func (*MetalMachineTemplate) SetupWebhookWithManager

func (r *MetalMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error

type MetalMachineTemplateList

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

MetalMachineTemplateList contains a list of MetalMachineTemplate

func (*MetalMachineTemplateList) DeepCopy

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

func (*MetalMachineTemplateList) DeepCopyInto

func (in *MetalMachineTemplateList) DeepCopyInto(out *MetalMachineTemplateList)

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

func (*MetalMachineTemplateList) DeepCopyObject

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

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

func (*MetalMachineTemplateList) Hub

func (*MetalMachineTemplateList) Hub()

func (*MetalMachineTemplateList) SetupWebhookWithManager

func (r *MetalMachineTemplateList) SetupWebhookWithManager(mgr ctrl.Manager) error

type MetalMachineTemplateResource

type MetalMachineTemplateResource struct {
	// Spec is the specification of the desired behavior of the machine.
	Spec MetalMachineSpec `json:"spec"`
}

func (*MetalMachineTemplateResource) DeepCopy

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

func (*MetalMachineTemplateResource) DeepCopyInto

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

type MetalMachineTemplateSpec

type MetalMachineTemplateSpec struct {
	Template MetalMachineTemplateResource `json:"template"`
}

MetalMachineTemplateSpec defines the desired state of MetalMachineTemplate

func (*MetalMachineTemplateSpec) DeepCopy

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

func (*MetalMachineTemplateSpec) DeepCopyInto

func (in *MetalMachineTemplateSpec) DeepCopyInto(out *MetalMachineTemplateSpec)

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

type MetalMachineTemplateStatus

type MetalMachineTemplateStatus struct {
}

MetalMachineTemplateStatus defines the observed state of MetalMachineTemplate

func (*MetalMachineTemplateStatus) DeepCopy

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

func (*MetalMachineTemplateStatus) 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