cmds

package
v0.0.0-...-599403d Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusFailure = "Failure"
)

Variables

This section is empty.

Functions

func NewCmdAttach

func NewCmdAttach() *cobra.Command

func NewCmdDetach

func NewCmdDetach() *cobra.Command

func NewCmdInit

func NewCmdInit() *cobra.Command

func NewCmdMount

func NewCmdMount() *cobra.Command

func NewCmdMountDevice

func NewCmdMountDevice() *cobra.Command

func NewCmdUnmount

func NewCmdUnmount() *cobra.Command

func NewRootCmd

func NewRootCmd(version string) *cobra.Command

Types

type DriverOutput

type DriverOutput struct {
	flexvolume.DriverStatus
	Options interface{} `json:"options,omitempty"`
}

func Device

func Device(device string) DriverOutput

func Error

func Error(err error) DriverOutput

func Success

func Success() DriverOutput

func (DriverOutput) Capability

func (do DriverOutput) Capability() DriverOutput

func (DriverOutput) Print

func (do DriverOutput) Print()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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