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
- Variables
- type MetalCluster
- type MetalClusterList
- type MetalClusterSpec
- type MetalClusterStatus
- type MetalMachine
- type MetalMachineList
- type MetalMachineSpec
- type MetalMachineStatus
- type MetalMachineTemplate
- func (in *MetalMachineTemplate) DeepCopy() *MetalMachineTemplate
- func (in *MetalMachineTemplate) DeepCopyInto(out *MetalMachineTemplate)
- func (in *MetalMachineTemplate) DeepCopyObject() runtime.Object
- func (*MetalMachineTemplate) Hub()
- func (r *MetalMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- type MetalMachineTemplateList
- func (in *MetalMachineTemplateList) DeepCopy() *MetalMachineTemplateList
- func (in *MetalMachineTemplateList) DeepCopyInto(out *MetalMachineTemplateList)
- func (in *MetalMachineTemplateList) DeepCopyObject() runtime.Object
- func (*MetalMachineTemplateList) Hub()
- func (r *MetalMachineTemplateList) SetupWebhookWithManager(mgr ctrl.Manager) error
- type MetalMachineTemplateResource
- type MetalMachineTemplateSpec
- type MetalMachineTemplateStatus
Constants ¶
const (
// ClusterFinalizer allows ReconcileMetalCluster to clean up resources before removing it from the apiserver.
ClusterFinalizer = "metalcluster.infrastructure.cluster.x-k8s.io"
)
const (
// MachineFinalizer allows ReconcileMetalMachine to clean up resources before removing it from the apiserver.
MachineFinalizer = "metalmachine.infrastructure.cluster.x-k8s.io"
)
Variables ¶
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 ¶
func (in *MetalMachineTemplate) DeepCopy() *MetalMachineTemplate
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 ¶
func (in *MetalMachineTemplateList) DeepCopy() *MetalMachineTemplateList
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 ¶
func (in *MetalMachineTemplateResource) DeepCopy() *MetalMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplateResource.
func (*MetalMachineTemplateResource) DeepCopyInto ¶
func (in *MetalMachineTemplateResource) DeepCopyInto(out *MetalMachineTemplateResource)
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 ¶
func (in *MetalMachineTemplateSpec) DeepCopy() *MetalMachineTemplateSpec
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 ¶
func (in *MetalMachineTemplateStatus) DeepCopy() *MetalMachineTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplateStatus.
func (*MetalMachineTemplateStatus) DeepCopyInto ¶
func (in *MetalMachineTemplateStatus) DeepCopyInto(out *MetalMachineTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- doc.go
- groupversion_info.go
- metalcluster_conversion.go
- metalcluster_types.go
- metalcluster_webhook.go
- metalclusterlist_webhook.go
- metalmachine_conversion.go
- metalmachine_types.go
- metalmachine_webhook.go
- metalmachinelist_webhook.go
- metalmachinetemplate_conversion.go
- metalmachinetemplate_types.go
- metalmachinetemplate_webhook.go
- metalmachinetemplatelist_webhook.go
- zz_generated.deepcopy.go