Documentation
¶
Index ¶
Constants ¶
const ( // DefaultIgnitionSecretKeyName is the default key name for the ignition secret DefaultIgnitionSecretKeyName = "ignition" // DefaultIgnitionFormatKey is the key for the ignition format annotation DefaultIgnitionFormatKey = "format" // DefaultIgnitionFormatValue is the value for the ignition format annotation DefaultIgnitionFormatValue = "fcos" // SSHKeyPairSecretPrivateKeyName is the key name for the private key in the SSH key pair secret SSHKeyPairSecretPrivateKeyName = "pem" // SSHKeyPairSecretPublicKeyName is the key name for the public key in the SSH key pair secret SSHKeyPairSecretPublicKeyName = "pub" // SSHKeyPairSecretPasswordKeyName is the key name for the password in the SSH key pair secret SShKeyPairSecretPasswordKeyName = "password" // ServerFinalizer is the finalizer for the server ServerFinalizer = "metal.ironcore.dev/server" // InternalAnnotationTypeKeyName is the key name for the internal annotation type InternalAnnotationTypeKeyName = "metal.ironcore.dev/type" // IsDefaultServerBootConfigOSImageKeyName is the key name for the is default OS image annotation IsDefaultServerBootConfigOSImageKeyName = "metal.ironcore.dev/is-default-os-image" // InternalAnnotationTypeValue is the value for the internal annotation 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 ¶
type ServerClaimReconciler struct {
client.Client
Cache cache.Cache
Scheme *runtime.Scheme
MaxConcurrentReconciles int
// contains filtered or unexported fields
}
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
MaxConcurrentReconciles int
}
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.