localvolumeset

package
v0.0.0-...-128ee6c Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ComponentName = "localvolumeset-controller"
)
View Source
const (
	// DaemonSetsAvailable
	DaemonSetsAvailableAndConfigured = "DaemonSetsAvailable"
)

Variables

This section is empty.

Functions

func SetCondition

func SetCondition(conditions *[]operatorv1.OperatorCondition, conditionType, conditionMessage string, conditionStatus operatorv1.ConditionStatus) bool

SetCondition creates or updates a condition of type conditionType in conditions and returns changed

Types

type LocalVolumeSetReconciler

type LocalVolumeSetReconciler struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	Client client.Client

	Scheme   *runtime.Scheme
	LvSetMap *common.StorageClassOwnerMap
	// contains filtered or unexported fields
}

LocalVolumeSetReconciler reconciles a LocalVolumeSet object

func (*LocalVolumeSetReconciler) Reconcile

func (r *LocalVolumeSetReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile reads that state of the cluster for a LocalVolumeSet object and makes changes based on the state read and what is in the LocalVolumeSet.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*LocalVolumeSetReconciler) SetupWithManager

func (r *LocalVolumeSetReconciler) SetupWithManager(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