command

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCStorPoolMgmt

func NewCStorPoolMgmt() (*cobra.Command, error)

NewCStorPoolMgmt creates a new CStorPoolMgmt. This cmd includes logging, cmd option parsing from flags.

func NewCmdOptions

func NewCmdOptions() *cobra.Command

NewCmdOptions creates an options Cobra command to return usage.

func NewCmdStart

func NewCmdStart() *cobra.Command

NewCmdStart starts watching for CStorPool and CStorVolumeReplica resource events.

func Run

func Run(cmd *cobra.Command) error

Run is to CStorPoolMgmt.

Types

type CmdStartOptions

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

CmdStartOptions has flags for starting CStorPool and CStorVolumeReplica watcher.

Jump to

Keyboard shortcuts

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