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 ¶
func (c *MultiVCenterStorageClassController) Sync(ctx context.Context, connections []*vclib.VSphereConnection, apiDeps checks.KubeAPIInterface) error
type StorageClassController ¶
type StorageClassController struct{ AbstractStorageClass }
func (*StorageClassController) Sync ¶
func (c *StorageClassController) Sync(ctx context.Context, connections []*vclib.VSphereConnection, apiDeps checks.KubeAPIInterface) error
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
Click to show internal directories.
Click to hide internal directories.