gcepd

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlexVolumeDriver

type FlexVolumeDriver struct {
	// contains filtered or unexported fields
}

func NewFlexVolumeDriver

func NewFlexVolumeDriver(uuid string, name string) *FlexVolumeDriver

NewFlexVolumeDriver returns a flex volume driver

func (*FlexVolumeDriver) Attach added in v1.12.0

func (d *FlexVolumeDriver) Attach(jsonOptions, nodeName string) (map[string]interface{}, error)

Invocation: <driver executable> attach <json options> <node name>

func (*FlexVolumeDriver) Detach added in v1.12.0

func (d *FlexVolumeDriver) Detach(mountDev, nodeName string) (map[string]interface{}, error)

Invocation: <driver executable> detach <mount device> <node name>

func (*FlexVolumeDriver) Init added in v1.12.0

func (d *FlexVolumeDriver) Init() (map[string]interface{}, error)

Invocation: <driver executable> init

func (*FlexVolumeDriver) IsAttached added in v1.12.0

func (d *FlexVolumeDriver) IsAttached(jsonOptions, nodeName string) (map[string]interface{}, error)

Invocation: <driver executable> isattached <json options> <node name>

func (*FlexVolumeDriver) Mount added in v1.12.0

func (d *FlexVolumeDriver) Mount(targetMountDir, jsonOptions string) (map[string]interface{}, error)

Invocation: <driver executable> mount <mount dir> <json options> mount persist meta data generated from jsonOptions into a tag file in target dir.

func (*FlexVolumeDriver) Unmount added in v1.12.0

func (d *FlexVolumeDriver) Unmount(targetMountDir string) (map[string]interface{}, error)

Invocation: <driver executable> unmount <mount dir>

func (*FlexVolumeDriver) WaitForAttach added in v1.12.0

func (d *FlexVolumeDriver) WaitForAttach(mountDev, jsonOptions string) (map[string]interface{}, error)

Invocation: <driver executable> waitforattach <mount device> <json options>

Jump to

Keyboard shortcuts

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