lvset

package
v0.0.0-...-2a80d7f Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ErrorListingExistingSymlinks is an event reason string
	ErrorListingExistingSymlinks = "ErrorListingExistingSymlinks"
	// DiscoveredNewDevice is an event reason string
	DiscoveredNewDevice = "DiscoveredNewDevice"
)
View Source
const (
	// ComponentName for lvset symlinker
	ComponentName = "localvolumeset-symlink-controller"
)

Variables

View Source
var FilterMap = map[string]func(internal.BlockDevice, *localv1alpha1.DeviceInclusionSpec) (bool, error){
	// contains filtered or unexported fields
}

maps of function identifier (for logs) to filter function. These are passed the localv1alpha1.DeviceInclusionSpec to make testing easier, but they aren't expected to use it they verify that the device itself is good to use

Functions

This section is empty.

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
	// contains filtered or unexported fields
}

func NewLocalVolumeSetReconciler

func NewLocalVolumeSetReconciler(client client.Client, scheme *runtime.Scheme, time timeInterface, cleanupTracker *provDeleter.CleanupStatusTracker, rc *provCommon.RuntimeConfig) *LocalVolumeSetReconciler

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) WithManager

func (r *LocalVolumeSetReconciler) WithManager(mgr ctrl.Manager) error

type WallTime

type WallTime struct{}

Jump to

Keyboard shortcuts

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