command

package
Version: v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

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