command

package
v0.0.0-...-16dfdc2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AllowDeletePerm  = "allow"
	ForbidDeletePerm = "forbid"
)

Variables

View Source
var Display = &simplePrinter{}
View Source
var GlobalFlagsInstance = GlobalFlags{}

Functions

func DeleteLogStreamFiles

func DeleteLogStreamFiles() *cobra.Command

func GetDeletePermission

func GetDeletePermission() *cobra.Command

func LeaderTransferCommand

func LeaderTransferCommand() *cobra.Command

func MustClient

func MustClient() *apiclient.Client

func NewDebugSwitchCommand

func NewDebugSwitchCommand() *cobra.Command

NewDebugCommand,enable debug

func NewLogStreamCommand

func NewLogStreamCommand() *cobra.Command

NewLogStream returns the cobra command for "member".

func NewMemberCommand

func NewMemberCommand() *cobra.Command

NewMemberCommand returns the cobra command for "member".

func NewRateCommand

func NewRateCommand() *cobra.Command

NewRateCommand returns the cobra command for "rate".

func NewSnapshotMetaCommand

func NewSnapshotMetaCommand() *cobra.Command

func NewVersionCommand

func NewVersionCommand() *cobra.Command

NewDebugCommand,enable debug

func SetDeletePermission

func SetDeletePermission() *cobra.Command

func StartLogStreamCommand

func StartLogStreamCommand() *cobra.Command

func StopLogStreamCommand

func StopLogStreamCommand() *cobra.Command

Types

type GlobalFlags

type GlobalFlags struct {
	Endpoints []string

	DialTimeout    time.Duration
	CommandTimeOut time.Duration
}

GlobalFlags are flags that defined globally and are inherited to all sub-commands.

Jump to

Keyboard shortcuts

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