command

package
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: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCStorVolumeMgmt

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

NewCStorVolumeMgmt creates a new CStorVolume CRD watcher and grpc command.

func NewCmdStart

func NewCmdStart() *cobra.Command

NewCmdStart starts gRPC server and watcher for CStorVolume.

func Run

func Run(cmd *cobra.Command) error

Run is to run cstor-volume-mgmt command without any arguments

Types

type CmdSnaphotOptions

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

CmdSnaphotOptions holds the options for snapshot create command

type CmdStartOptions

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

CmdStartOptions has flags for starting CStorVolume watcher.

Jump to

Keyboard shortcuts

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