storageclasscontroller

package
v0.0.0-...-db7ba3c Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DatastoreInfoProperty = "info"
	SummaryProperty       = "summary"
)

Variables

This section is empty.

Functions

func NewStoragePolicyAPI

func NewStoragePolicyAPI(ctx context.Context, connection *vclib.VSphereConnection, infra *v1.Infrastructure) vCenterInterface

Types

type AbstractStorageClass

type AbstractStorageClass struct {
	StorageClassSyncInterface
	// contains filtered or unexported fields
}

func (*AbstractStorageClass) SyncRemove

func (c *AbstractStorageClass) SyncRemove(ctx context.Context) error

type MultiVCenterStorageClassController

type MultiVCenterStorageClassController struct {
	AbstractStorageClass
	// contains filtered or unexported fields
}

func (*MultiVCenterStorageClassController) Sync

type StorageClassController

type StorageClassController struct{ AbstractStorageClass }

func (*StorageClassController) Sync

type StorageClassSyncInterface

type StorageClassSyncInterface interface {
	Sync(ctx context.Context, connection []*vclib.VSphereConnection, apiDeps checks.KubeAPIInterface) error
	SyncRemove(ctx context.Context) error
}

func NewStorageClassController

func NewStorageClassController(
	name,
	targetNamespace string,
	manifest []byte,
	kubeClient kubernetes.Interface,
	operatorClient v1helpers.OperatorClient,
	storageClassLister storagev1.StorageClassLister,
	clusterCSIDriverInformer clustercsidriverinformer.ClusterCSIDriverInformer,
	recorder events.Recorder,
	featureGates featuregates.FeatureGate,
) StorageClassSyncInterface

Jump to

Keyboard shortcuts

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