Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelEnvironmentName = "environment.metal3.io" LabelEnvironmentValue = "baremetal" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BareMetalHostReconciler ¶
type BareMetalHostReconciler struct { client.Client Log logr.Logger ProvisionerFactory provisioner.Factory APIReader client.Reader }
BareMetalHostReconciler reconciles a BareMetalHost object
func (*BareMetalHostReconciler) Reconcile ¶
func (r *BareMetalHostReconciler) Reconcile(ctx context.Context, request ctrl.Request) (result ctrl.Result, err error)
Reconcile handles changes to BareMetalHost resources
func (*BareMetalHostReconciler) SetupWithManager ¶
func (r *BareMetalHostReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers the reconciler to be run by the manager
type EmptyBMCAddressError ¶
type EmptyBMCAddressError struct {
// contains filtered or unexported fields
}
EmptyBMCAddressError is returned when the BMC address field for a host is empty
func (EmptyBMCAddressError) Error ¶
func (e EmptyBMCAddressError) Error() string
type EmptyBMCSecretError ¶
type EmptyBMCSecretError struct {
// contains filtered or unexported fields
}
EmptyBMCSecretError is returned when the BMC secret for a host is empty
func (EmptyBMCSecretError) Error ¶
func (e EmptyBMCSecretError) Error() string
type NoDataInSecretError ¶
type NoDataInSecretError struct {
// contains filtered or unexported fields
}
NoDataInSecretError is returned when host configuration data were not found in referenced secret
func (NoDataInSecretError) Error ¶
func (e NoDataInSecretError) Error() string
type ResolveBMCSecretRefError ¶
type ResolveBMCSecretRefError struct {
// contains filtered or unexported fields
}
ResolveBMCSecretRefError is returned when the BMC secret for a host is defined but cannot be found
func (ResolveBMCSecretRefError) Error ¶
func (e ResolveBMCSecretRefError) Error() string
type SaveBMCSecretOwnerError ¶
type SaveBMCSecretOwnerError struct {
// contains filtered or unexported fields
}
SaveBMCSecretOwnerError is returned when we fail to set the owner of a secret
func (SaveBMCSecretOwnerError) Error ¶
func (e SaveBMCSecretOwnerError) Error() string
Click to show internal directories.
Click to hide internal directories.