Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceDiscoveryController ¶ added in v1.1.0
DeviceDiscoveryController periodically reconciles devices on the host, creates CRs for new devices, deletes CRs for absent devices, updates the CR when device's status has changed.
func NewDeviceDiscoveryController ¶ added in v1.1.0
func NewDeviceDiscoveryController(client client.Client, deviceDiscovery devicediscovery.DeviceDiscovery, hostUtils host.HostUtils, node string, namespace string) *DeviceDiscoveryController
NewDeviceDiscoveryController creates a new instance of DeviceDiscoveryController with the specified parameters.
func (*DeviceDiscoveryController) Start ¶ added in v1.1.0
func (d *DeviceDiscoveryController) Start(ctx context.Context) error
Start starts the device discovery process by reconciling devices on the host.
It triggers the first reconciliation manually and then runs it periodically based on the deviceDiscoveryReconcileTime interval until the context is done.
type NicConfigurationTemplateReconciler ¶
type NicConfigurationTemplateReconciler struct {
client.Client
EventRecorder record.EventRecorder
Scheme *runtime.Scheme
}
NicConfigurationTemplateReconciler reconciles a NicConfigurationTemplate object
func (*NicConfigurationTemplateReconciler) Reconcile ¶
func (r *NicConfigurationTemplateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles the NicConfigurationTemplate object
func (*NicConfigurationTemplateReconciler) SetupWithManager ¶
func (r *NicConfigurationTemplateReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NicDeviceReconciler ¶
type NicDeviceReconciler struct {
client.Client
Scheme *runtime.Scheme
NodeName string
NamespaceName string
FirmwareManager firmware.FirmwareManager
ConfigurationManager configuration.ConfigurationManager
HostUtils host.HostUtils
MaintenanceManager maintenance.MaintenanceManager
SpectrumXManager spectrumx.SpectrumXManager
EventRecorder record.EventRecorder
}
NicDeviceReconciler reconciles a NicDevice object
func (*NicDeviceReconciler) SetupWithManager ¶
func (r *NicDeviceReconciler) SetupWithManager(mgr ctrl.Manager, watchForMaintenance bool) error
SetupWithManager sets up the controller with the Manager.
type NicFirmwareSourceReconciler ¶ added in v0.1.18
type NicFirmwareSourceReconciler struct {
client.Client
Scheme *runtime.Scheme
FirmwareProvisioner firmware.FirmwareProvisioner
}
NicFirmwareSourceReconciler reconciles a NicDevice object
func (*NicFirmwareSourceReconciler) Reconcile ¶ added in v0.1.18
func (r *NicFirmwareSourceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles the NicFirmwareSource object
func (*NicFirmwareSourceReconciler) SetupWithManager ¶ added in v0.1.18
func (r *NicFirmwareSourceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NicFirmwareTemplateReconciler ¶ added in v0.1.18
type NicFirmwareTemplateReconciler struct {
client.Client
EventRecorder record.EventRecorder
Scheme *runtime.Scheme
}
NicFirmwareTemplateReconciler reconciles a NicFirmwareTemplate object
func (*NicFirmwareTemplateReconciler) Reconcile ¶ added in v0.1.18
func (r *NicFirmwareTemplateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles the NicFirmwareTemplate object
func (*NicFirmwareTemplateReconciler) SetupWithManager ¶ added in v0.1.18
func (r *NicFirmwareTemplateReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.