Documentation ¶
Index ¶
- Constants
- func GetSchemaName(schema map[string]metal3api.SettingSchema) string
- type BMCEventSubscriptionReconciler
- type BareMetalHostReconciler
- type DataImageReconciler
- type EmptyBMCAddressError
- type EmptyBMCSecretError
- type HostFirmwareComponentsReconciler
- type HostFirmwareSettingsReconciler
- type NoDataInSecretError
- type PreprovisioningImageReconciler
- type ResolveBMCSecretRefError
Constants ¶
const (
NotReady = "Not ready"
)
Variables ¶
This section is empty.
Functions ¶
func GetSchemaName ¶
func GetSchemaName(schema map[string]metal3api.SettingSchema) string
Generate a name based on the schema key and values which should be the same for similar hardware.
Types ¶
type BMCEventSubscriptionReconciler ¶
type BMCEventSubscriptionReconciler struct { client.Client Log logr.Logger ProvisionerFactory provisioner.Factory APIReader client.Reader }
func (*BMCEventSubscriptionReconciler) SetupWithManager ¶
func (r *BMCEventSubscriptionReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconcile int) error
SetupWithManager registers the reconciler to be run by the manager.
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, preprovImgEnable bool, maxConcurrentReconcile int) error
SetupWithManager registers the reconciler to be run by the manager.
type DataImageReconciler ¶ added in v0.8.0
type DataImageReconciler struct { client.Client Log logr.Logger ProvisionerFactory provisioner.Factory }
DataImageReconciler reconciles a DataImage object.
func (*DataImageReconciler) Reconcile ¶ added in v0.8.0
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*DataImageReconciler) SetupWithManager ¶ added in v0.8.0
func (r *DataImageReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconcile int) error
SetupWithManager sets up the controller with 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 HostFirmwareComponentsReconciler ¶ added in v0.6.0
type HostFirmwareComponentsReconciler struct { client.Client Log logr.Logger ProvisionerFactory provisioner.Factory }
HostFirmwareComponentsReconciler reconciles a HostFirmwareComponents object.
func (*HostFirmwareComponentsReconciler) Reconcile ¶ added in v0.6.0
func (r *HostFirmwareComponentsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile handles changes to HostFirmwareComponents resources.
func (*HostFirmwareComponentsReconciler) SetupWithManager ¶ added in v0.6.0
func (r *HostFirmwareComponentsReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconcile int) error
SetupWithManager sets up the controller with the Manager.
type HostFirmwareSettingsReconciler ¶
type HostFirmwareSettingsReconciler struct { client.Client Log logr.Logger ProvisionerFactory provisioner.Factory }
HostFirmwareSettingsReconciler reconciles a HostFirmwareSettings object.
func (*HostFirmwareSettingsReconciler) Reconcile ¶
func (r *HostFirmwareSettingsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.6.4/pkg/reconcile
func (*HostFirmwareSettingsReconciler) SetupWithManager ¶
func (r *HostFirmwareSettingsReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconcile int) error
SetupWithManager sets up the controller with the Manager.
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 PreprovisioningImageReconciler ¶
type PreprovisioningImageReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme APIReader client.Reader ImageProvider imageprovider.ImageProvider }
PreprovisioningImageReconciler reconciles a PreprovisioningImage object.
func (*PreprovisioningImageReconciler) CanStart ¶
func (r *PreprovisioningImageReconciler) CanStart() bool
func (*PreprovisioningImageReconciler) SetupWithManager ¶
func (r *PreprovisioningImageReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconcile int) error
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