Documentation ¶
Overview ¶
Package provisioner to provision Rook volumes on Kubernetes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(context *clusterd.Context, flexDriverVendor string) controller.Provisioner
New creates RookVolumeProvisioner
Types ¶
type RookVolumeProvisioner ¶
type RookVolumeProvisioner struct {
// contains filtered or unexported fields
}
RookVolumeProvisioner is used to provision Rook volumes on Kubernetes
func (*RookVolumeProvisioner) Delete ¶
func (p *RookVolumeProvisioner) Delete(_ context.Context, volume *v1.PersistentVolume) error
Delete removes the storage asset that was created by Provision represented by the given PV. Right now, we are not using the 'context.Context' argument, so ignoring it.
func (*RookVolumeProvisioner) Provision ¶
func (p *RookVolumeProvisioner) Provision(_ context.Context, options controller.ProvisionOptions) (*v1.PersistentVolume, controller.ProvisioningState, error)
Provision creates a storage asset and returns a PV object representing it.
Click to show internal directories.
Click to hide internal directories.