package portworx
import "k8s.io/kubernetes/pkg/volume/portworx"
Package portworx contains the internal representation of Portworx Block Device volumes.
Index ¶
- func ProbeVolumePlugins() []volume.VolumePlugin
- type PortworxVolumeUtil
- func (util *PortworxVolumeUtil) AttachVolume(m *portworxVolumeMounter, attachOptions map[string]string) (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
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, attachOptions map[string]string) (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
Source Files ¶
doc.go portworx.go portworx_util.go
- Version
- v1.8.0
- Published
- Sep 28, 2017
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 1 minute ago –
Tools for package owners.