portworx

package
v1.8.0-alpha.2....-f6929fc Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package portworx contains the internal representation of Portworx Block Device volumes.

Index

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

Jump to

Keyboard shortcuts

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