Help us shape the future of Go! Take the 2026 Go Developer Survey

provisioner

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL