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 NewCmdVolume ¶
NewCmdVolume provides options for managing OpenEBS Volume
func NewCmdVolumeCreate ¶
NewCmdVolumeCreate creates a new OpenEBS Volume
func NewMayaCommand ¶
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.
Click to show internal directories.
Click to hide internal directories.