controllers

package
v0.0.0-...-1f6a80c Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ParentDPUDeploymentNameLabel contains the name of the DPUDeployment object that owns the resource
	ParentDPUDeploymentNameLabel = "svc.dpu.nvidia.com/owned-by-dpudeployment"

	// DependentDPUDeploymentNameLabel contains the name of the DPUDeployment object that relies on this resource
	DependentDPUDeploymentNameLabel = "dpu.nvidia.com/consumed-by-dpudeployment-name"

	// ServiceInterfaceInterfaceNameLabel label identifies a specific interface of a DPUService.
	ServiceInterfaceInterfaceNameLabel = "svc.dpu.nvidia.com/interface"
)
View Source
const (
	DPUServiceCredentialRequestControllerName = "dpuservicecredentialrequestcontroller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DPUDeploymentReconciler

type DPUDeploymentReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

DPUDeploymentReconciler reconciles a DPUDeployment object

func (*DPUDeploymentReconciler) BFBToDPUDeployment

func (r *DPUDeploymentReconciler) BFBToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request

BFBToDPUDeployment returns the DPUDeployments associated with a BFB

func (*DPUDeploymentReconciler) DPUFlavorToDPUDeployment

func (r *DPUDeploymentReconciler) DPUFlavorToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request

DPUFlavorToDPUDeployment returns the DPUDeployments associated with a DPUFlavor

func (*DPUDeploymentReconciler) DPUServiceConfigurationToDPUDeployment

func (r *DPUDeploymentReconciler) DPUServiceConfigurationToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request

DPUServiceConfigurationToDPUDeployment returns the DPUDeployments associated with a DPUServiceConfiguration

func (*DPUDeploymentReconciler) DPUServiceTemplateToDPUDeployment

func (r *DPUDeploymentReconciler) DPUServiceTemplateToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request

DPUServiceTemplateToDPUDeployment returns the DPUDeployments associated with a DPUServiceTemplate

func (*DPUDeploymentReconciler) Reconcile

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

Reconcile reconciles changes in a DPUDeployment object

func (*DPUDeploymentReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type DPUServiceCredentialRequestReconciler

type DPUServiceCredentialRequestReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

DPUServiceCredentialRequestReconciler reconciles a DPUServiceCredentialRequest object

func (*DPUServiceCredentialRequestReconciler) Reconcile

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

func (*DPUServiceCredentialRequestReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type DPUServiceReconciler

type DPUServiceReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

DPUServiceReconciler reconciles a DPUService object

func (*DPUServiceReconciler) ArgoApplicationToDPUService

func (r *DPUServiceReconciler) ArgoApplicationToDPUService(ctx context.Context, o client.Object) []ctrl.Request

ArgoApplicationToDPUService ensures a DPUService is updated each time there is an update to the linked Argo Application.

func (*DPUServiceReconciler) DPUClusterToDPUService

func (r *DPUServiceReconciler) DPUClusterToDPUService(ctx context.Context, o client.Object) []ctrl.Request

DPUClusterToDPUService ensures all DPUServices are updated each time there is an update to a DPUCluster.

func (*DPUServiceReconciler) Reconcile

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

Reconcile reconciles changes in a DPUService.

func (*DPUServiceReconciler) SetupWithManager

func (r *DPUServiceReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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