Documentation ¶
Index ¶
Constants ¶
View Source
const ( MachineFinalizer = "metal-api.onmetal.de/machine-finalizer" MachinePoolOOBNameAnnotation = "metal-api.onmetal.de/oob-name" MachinePoolOOBNamespaceAnnotation = "metal-api.onmetal.de/oob-namespace" )
View Source
const (
IpxeTemplate string = " #!ipxe\n\n kernel https://ghcr.io/layer/{{.KernelDigest}}\n " +
"initrd={{.InitRAMFsDigest}}\n " +
"gl.url=https://ghcr.io/layer/{{.RootFSDigest}} ignition.config.url=http://2a10:afc0:e013:d000::5b4f/ignition\n " +
"{{.CommandLine}}\n\n " +
"initrd https://ghcr.io/layer/{{.InitRAMFsDigest}}\n " +
"boot"
)
Variables ¶
View Source
var ( ErrMetalMachineNotMatchedWithComputeMachines = errors.New("metal metalv1alpha4 not matched with compute machines") ErrMetalMachineListEmpty = errors.New("metal metalv1alpha4 list is empty") ErrMetalMachineListNotFound = errors.New("metal metalv1alpha4 list not found") )
View Source
var OOBServiceAddr = poolv1alpha1.MachinePoolAddress{ Type: poolv1alpha1.MachinePoolInternalDNS, Address: "oob-console.oob.svc.cluster.local", }
Functions ¶
This section is empty.
Types ¶
type ImageDescription ¶
type ImageParser ¶
type ImageParser interface {
GetDescription(url string) (ImageDescription, error)
}
type IpxeReconciler ¶
type IpxeReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme ImageParser ImageParser Templater Templater }
IpxeReconciler reconciles an Ignition object.
func (*IpxeReconciler) SetupWithManager ¶
func (r *IpxeReconciler) SetupWithManager(mgr ctrl.Manager) error
type IpxeTemplater ¶
type IpxeTemplater struct {
// contains filtered or unexported fields
}
func (*IpxeTemplater) GetTemplate ¶
func (t *IpxeTemplater) GetTemplate(templateData string) (*template.Template, error)
type IroncoreImageParser ¶ added in v0.11.2
func (*IroncoreImageParser) GetDescription ¶ added in v0.11.2
func (p *IroncoreImageParser) GetDescription(url string) (ImageDescription, error)
type MachinePoolReconciler ¶
MachinePoolReconciler reconciles a MachinePool object.
func (*MachinePoolReconciler) SetupWithManager ¶
func (r *MachinePoolReconciler) SetupWithManager(mgr ctrl.Manager) error
type MachinePowerReconciler ¶
MachinePowerReconciler reconciles a MachineReservation object.
func (*MachinePowerReconciler) SetupWithManager ¶
func (r *MachinePowerReconciler) SetupWithManager(mgr ctrl.Manager) error
type MachineReservationReconciler ¶
MachineReservationReconciler reconciles a MachineReservation object.
func (*MachineReservationReconciler) SetupWithManager ¶
func (r *MachineReservationReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.