dpu

package
v0.0.0-...-def207c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const DPUControllerName = "dpu"

DPUControllerName is used when reporting events

Variables

This section is empty.

Functions

This section is empty.

Types

type DPUPhaseCategory

type DPUPhaseCategory int
const (
	PhaseBeforeProvisioning DPUPhaseCategory = iota
	PhaseInProvisioning
	PhaseAfterProvisioning
	PhaseUnknown
)

func GetDPUPhaseCategory

func GetDPUPhaseCategory(phase provisioningv1.DPUPhase) DPUPhaseCategory

type DPUReconciler

type DPUReconciler struct {
	DPUInProvisioningMap *util.DPUInProvisioningMap
	// contains filtered or unexported fields
}

DPUReconciler reconciles a DPU object

func NewDPUReconciler

func NewDPUReconciler(mgr manager.Manager, alloc allocator.Allocator, joinCommandGenerator util.NodeJoinCommandGenerator, hostUptimeChecker reboot.HostUptimeChecker, options util.DPUOptions, dpuMap *util.DPUInProvisioningMap) *DPUReconciler

func (*DPUReconciler) Reconcile

func (r *DPUReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)

func (*DPUReconciler) SetupWithManager

func (r *DPUReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

func (*DPUReconciler) UpdateDPUNodeMaintenanceRequestors

func (r *DPUReconciler) UpdateDPUNodeMaintenanceRequestors(ctx context.Context, dpu *provisioningv1.DPU, client client.Client) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL