Documentation
¶
Index ¶
Constants ¶
const ( DefaultIgnitionSecretKeyName = "ignition" DefaultIgnitionFormatKey = "format" DefaultIgnitionFormatValue = "fcos" SSHKeyPairSecretPrivateKeyName = "pem" SSHKeyPairSecretPublicKeyName = "pub" SShKeyPairSecretPasswordKeyName = "password" ServerFinalizer = "metal.ironcore.dev/server" InternalAnnotationTypeKeyName = "metal.ironcore.dev/type" InternalAnnotationTypeValue = "Internal" )
const BMCFinalizer = "metal.ironcore.dev/bmc"
const (
EndpointFinalizer = "metal.ironcore.dev/endpoint"
)
const (
ServerClaimFinalizer = "metal.ironcore.dev/serverclaim"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomPassword ¶
Types ¶
type BMCReconciler ¶
type BMCReconciler struct { client.Client Scheme *runtime.Scheme Insecure bool BMCPollingOptions bmc.BMCOptions }
BMCReconciler reconciles a BMC object
func (*BMCReconciler) Reconcile ¶
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 (*BMCReconciler) SetupWithManager ¶
func (r *BMCReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BMCSecretReconciler ¶
BMCSecretReconciler reconciles a BMCSecret object
func (*BMCSecretReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the BMCSecret object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.0/pkg/reconcile
func (*BMCSecretReconciler) SetupWithManager ¶
func (r *BMCSecretReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type EndpointReconciler ¶
type EndpointReconciler struct { client.Client Scheme *runtime.Scheme MACPrefixes *macdb.MacPrefixes Insecure bool BMCOptions bmc.BMCOptions }
EndpointReconciler reconciles a Endpoints object
func (*EndpointReconciler) SetupWithManager ¶
func (r *EndpointReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServerBootConfigurationReconciler ¶
ServerBootConfigurationReconciler reconciles a ServerBootConfiguration object
func (*ServerBootConfigurationReconciler) Reconcile ¶
func (r *ServerBootConfigurationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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.
func (*ServerBootConfigurationReconciler) SetupWithManager ¶
func (r *ServerBootConfigurationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServerClaimReconciler ¶
ServerClaimReconciler reconciles a ServerClaim object
func (*ServerClaimReconciler) Reconcile ¶
func (r *ServerClaimReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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.
func (*ServerClaimReconciler) SetupWithManager ¶
func (r *ServerClaimReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServerReconciler ¶
type ServerReconciler struct { client.Client Scheme *runtime.Scheme Insecure bool ManagerNamespace string ProbeImage string RegistryURL string ProbeOSImage string RegistryResyncInterval time.Duration EnforceFirstBoot bool EnforcePowerOff bool ResyncInterval time.Duration BMCOptions bmc.BMCOptions DiscoveryTimeout time.Duration }
ServerReconciler reconciles a Server object
func (*ServerReconciler) Reconcile ¶
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 (*ServerReconciler) SetupWithManager ¶
func (r *ServerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.