Documentation ¶
Overview ¶
Package portworx contains the internal representation of Portworx Block Device volumes.
Index ¶
- func ProbeVolumePlugins() []volume.VolumePlugin
- type PortworxVolumeUtil
- func (util *PortworxVolumeUtil) AttachVolume(m *portworxVolumeMounter) (string, error)
- func (util *PortworxVolumeUtil) CreateVolume(p *portworxVolumeProvisioner) (string, int, map[string]string, error)
- func (util *PortworxVolumeUtil) DeleteVolume(d *portworxVolumeDeleter) error
- func (util *PortworxVolumeUtil) DetachVolume(u *portworxVolumeUnmounter) error
- func (util *PortworxVolumeUtil) MountVolume(m *portworxVolumeMounter, mountPath string) error
- func (util *PortworxVolumeUtil) UnmountVolume(u *portworxVolumeUnmounter, mountPath string) 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 PortworxVolumeUtil ¶
type PortworxVolumeUtil struct {
// contains filtered or unexported fields
}
func (*PortworxVolumeUtil) AttachVolume ¶
func (util *PortworxVolumeUtil) AttachVolume(m *portworxVolumeMounter) (string, error)
AttachVolume attaches a Portworx Volume
func (*PortworxVolumeUtil) CreateVolume ¶
func (util *PortworxVolumeUtil) CreateVolume(p *portworxVolumeProvisioner) (string, int, map[string]string, error)
CreateVolume creates a Portworx volume.
func (*PortworxVolumeUtil) DeleteVolume ¶
func (util *PortworxVolumeUtil) DeleteVolume(d *portworxVolumeDeleter) error
DeleteVolume deletes a Portworx volume
func (*PortworxVolumeUtil) DetachVolume ¶
func (util *PortworxVolumeUtil) DetachVolume(u *portworxVolumeUnmounter) error
DetachVolume detaches a Portworx Volume
func (*PortworxVolumeUtil) MountVolume ¶
func (util *PortworxVolumeUtil) MountVolume(m *portworxVolumeMounter, mountPath string) error
MountVolume mounts a Portworx Volume on the specified mountPath
func (*PortworxVolumeUtil) UnmountVolume ¶
func (util *PortworxVolumeUtil) UnmountVolume(u *portworxVolumeUnmounter, mountPath string) error
UnmountVolume unmounts a Portworx Volume
Click to show internal directories.
Click to hide internal directories.