Documentation ¶
Overview ¶
Package storageprovisioner implements the provisioner for the liqo virtual storage class.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLiqoLocalStorageProvisioner ¶
func NewLiqoLocalStorageProvisioner(ctx context.Context, cl client.Client, virtualStorageClassName, storageNamespace, localRealStorageClass string) (controller.Provisioner, error)
NewLiqoLocalStorageProvisioner creates a new liqoLocalStorageProvisioner provisioner.
func ProvisionRemotePVC ¶
func ProvisionRemotePVC(ctx context.Context, options controller.ProvisionOptions, remoteNamespace, remoteRealStorageClass string, remotePvcLister corev1listers.PersistentVolumeClaimNamespaceLister, remotePvcClient corev1clients.PersistentVolumeClaimInterface, forgingOpts *forge.ForgingOpts) (*corev1.PersistentVolume, controller.ProvisioningState, error)
ProvisionRemotePVC ensures the existence of a remote PVC and returns a virtual PV for that remote storage device.
Types ¶
type StorageControllerRunnable ¶
type StorageControllerRunnable struct {
Ctrl *controller.ProvisionController
}
StorageControllerRunnable wraps the storage ProvisionController to implement the Runnable interface.
Click to show internal directories.
Click to hide internal directories.