Documentation ¶
Index ¶
- type FlexVolumeDriver
- func (d *FlexVolumeDriver) Attach(jsonOptions, nodeName string) (map[string]interface{}, error)
- func (d *FlexVolumeDriver) Detach(mountDev, nodeName string) (map[string]interface{}, error)
- func (d *FlexVolumeDriver) Init() (map[string]interface{}, error)
- func (d *FlexVolumeDriver) IsAttached(jsonOptions, nodeName string) (map[string]interface{}, error)
- func (d *FlexVolumeDriver) Mount(targetMountDir, jsonOptions string) (map[string]interface{}, error)
- func (d *FlexVolumeDriver) Unmount(targetMountDir string) (map[string]interface{}, error)
- func (d *FlexVolumeDriver) WaitForAttach(mountDev, jsonOptions string) (map[string]interface{}, error)
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>
Click to show internal directories.
Click to hide internal directories.