Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ProvisionerName is the unique name of this provisioner ProvisionerName = "openstack.org/standalone-cinder" // ProvisionerIDAnn is an annotation to identify a particular instance of this provisioner ProvisionerIDAnn = "standaloneCinderProvisionerIdentity" // CinderVolumeIDAnn is an annotation to store the ID of the associated cinder volume CinderVolumeIDAnn = "cinderVolumeId" // CloneRequestAnn is an annotation to request that the PVC be provisioned as a clone of the referenced PVC CloneRequestAnn = "k8s.io/CloneRequest" // CloneOfAnn is an annotation to indicate that a PVC is a clone of the referenced PVC CloneOfAnn = "k8s.io/CloneOf" // SmartCloneEnabled is a provisioner parameter to enable smart clone mode for a storage class SmartCloneEnabled = "smartclone" )
Variables ¶
This section is empty.
Functions ¶
func NewCinderProvisioner ¶
func NewCinderProvisioner(client kubernetes.Interface, id, configFilePath string) (controller.Provisioner, error)
NewCinderProvisioner returns a Provisioner that creates volumes using a standalone cinder instance and produces PersistentVolumes that use native kubernetes PersistentVolumeSources.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.