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) 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(volume *v1.PersistentVolume) error
Delete removes the storage asset that was created by Provision represented by the given PV.
func (*RookVolumeProvisioner) Provision ¶
func (p *RookVolumeProvisioner) Provision(options controller.VolumeOptions) (*v1.PersistentVolume, error)
Provision creates a storage asset and returns a PV object representing it.
Click to show internal directories.
Click to hide internal directories.