controller

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	RbdDriverType    = "rbd"
	CephFsDriverType = "cephfs"
	NfsDriverType    = "nfs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientProfileMappingReconcile

type ClientProfileMappingReconcile struct {
	ClientProfileMappingReconciler
	// contains filtered or unexported fields
}

A local reconcile object tied to a single reconcile iteration

type ClientProfileMappingReconciler

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

ClientProfileMappingReconciler reconciles a ClientProfileMapping object

func (*ClientProfileMappingReconciler) Reconcile

func (*ClientProfileMappingReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ClientProfileReconcile

type ClientProfileReconcile struct {
	ClientProfileReconciler
	// contains filtered or unexported fields
}

A local reconcile object tied to a single reconcile iteration

type ClientProfileReconciler

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

ClientProfileReconciler reconciles a ClientProfile object

func (*ClientProfileReconciler) Reconcile

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

func (*ClientProfileReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type DriverReconciler

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

DriverReconciler reconciles a Driver object

func (*DriverReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.3/pkg/reconcile

func (*DriverReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type DriverType

type DriverType string

Jump to

Keyboard shortcuts

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