Documentation
¶
Index ¶
Constants ¶
View Source
const ( // controller name that will be used when DPUNodeControllerName = "dpunode" PodTemplateConfigMapKey string = "pod-template" PodInfoVolumeName string = "dpf-pod-info" PodInfoMountPath string = "/etc/dpf-pod-info" PodInfoLabelsPath string = "labels" PodInfoAnnotationsPath string = "annotations" PodInfoLabelsFieldPath string = "metadata.labels" PodInfoAnnotationsFieldPath string = "metadata.annotations" DPUNodeNameEnvVar string = "DPUNODE_NAME" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DPUNodeReconciler ¶
type DPUNodeReconciler struct {
client.Client
DPUInstallInterface *string
// Options are the Options used to configure the DMS Pods created by the controller.
Options dnutil.HostAgentPodOptions
// Recorder is an event recorder that is used to record events that occur during the execution of the controller.
Recorder record.EventRecorder
}
DPUNodeReconciler reconciles a DPUNode object
func (*DPUNodeReconciler) HandleRebootSync ¶
func (r *DPUNodeReconciler) HandleRebootSync(ctx context.Context, dpuNode *provisioningv1.DPUNode) (ctrl.Result, error)
HandleRebootSync handles the host reboot sync for redfish interface
func (*DPUNodeReconciler) SetupWithManager ¶
func (r *DPUNodeReconciler) SetupWithManager(mgr ctrl.Manager) error
type NodeReconciler ¶
type NodeReconciler struct {
client.Client
Options dnutil.HostAgentPodOptions
}
func (*NodeReconciler) SetupWithManager ¶
func (r *NodeReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.