command

package
v0.0.0-...-ec68995 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: Apache-2.0, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

CheckError prints err to stderr and exits with code 1 if err is not nil. Otherwise, it is a no-op.

func NewCmdVersion

func NewCmdVersion() *cobra.Command

NewCommand creates the version command

func NewCmdVolume

func NewCmdVolume() *cobra.Command

NewCmdVolume provides options for managing OpenEBS Volume

func NewCmdVolumeCreate

func NewCmdVolumeCreate() *cobra.Command

NewCmdVolumeCreate creates a new OpenEBS Volume

func NewMayaCommand

func NewMayaCommand() *cobra.Command

NewCommand creates the `maya` command and its nested children.

Types

type CmdVolumeCreateOptions

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

func (*CmdVolumeCreateOptions) RunVolumeCreate

func (c *CmdVolumeCreateOptions) RunVolumeCreate(cmd *cobra.Command) error

Run does tasks related to mayaserver.

func (*CmdVolumeCreateOptions) Validate

func (c *CmdVolumeCreateOptions) Validate(cmd *cobra.Command) error

Run does tasks related to mayaserver.

Jump to

Keyboard shortcuts

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