Documentation ¶
Overview ¶
Package cinder contains the internal representation of cinder volumes.
Index ¶
- func ProbeVolumePlugins() []volume.VolumePlugin
- type CinderDiskUtil
- func (util *CinderDiskUtil) AttachDisk(b *cinderVolumeMounter, globalPDPath string) error
- func (util *CinderDiskUtil) CreateVolume(c *cinderVolumeProvisioner) (volumeID string, volumeSizeGB int, err error)
- func (util *CinderDiskUtil) DeleteVolume(cd *cinderVolumeDeleter) error
- func (util *CinderDiskUtil) DetachDisk(cd *cinderVolumeUnmounter) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProbeVolumePlugins ¶
func ProbeVolumePlugins() []volume.VolumePlugin
This is the primary entrypoint for volume plugins.
Types ¶
type CinderDiskUtil ¶
type CinderDiskUtil struct{}
func (*CinderDiskUtil) AttachDisk ¶
func (util *CinderDiskUtil) AttachDisk(b *cinderVolumeMounter, globalPDPath string) error
Attaches a disk specified by a volume.CinderPersistenDisk to the current kubelet. Mounts the disk to it's global path.
func (*CinderDiskUtil) CreateVolume ¶ added in v1.1.1
func (util *CinderDiskUtil) CreateVolume(c *cinderVolumeProvisioner) (volumeID string, volumeSizeGB int, err error)
func (*CinderDiskUtil) DeleteVolume ¶ added in v1.1.1
func (util *CinderDiskUtil) DeleteVolume(cd *cinderVolumeDeleter) error
func (*CinderDiskUtil) DetachDisk ¶
func (util *CinderDiskUtil) DetachDisk(cd *cinderVolumeUnmounter) error
Unmounts the device and detaches the disk from the kubelet's host machine.
Click to show internal directories.
Click to hide internal directories.