subcmds

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct{}

List cmd

func (*List) Exec

func (l *List) Exec(cmd *server.CmdShim) error

Exec list

func (*List) Validation

func (l *List) Validation(cmd *server.CmdShim) bool

Validation validation cmd

type Register

type Register struct{}

Register register cmd

func (*Register) Exec

func (r *Register) Exec(cmd *server.CmdShim) error

Exec func hictl register qa /root/admin.config hictl qa get pod -n yulibaozi

 |       |                 |
 |	     |                 |
cmd     subcmd            args                 flags

func (*Register) Validation

func (r *Register) Validation(cmd *server.CmdShim) bool

Validation Verify that the parameters match

type Remove

type Remove struct{}

Remove remove cmd

func (*Remove) Exec

func (r *Remove) Exec(cmd *server.CmdShim) error

Exec exec remove

type RemoveAll

type RemoveAll struct{}

RemoveAll remove all cluster name

func (*RemoveAll) Exec

func (r *RemoveAll) Exec(cmd *server.CmdShim) error

Exec exec removell

type Where added in v1.0.1

type Where struct{}

Where show use cluster

func (*Where) Exec added in v1.0.1

func (n *Where) Exec(cmd *server.CmdShim) error

Exec now cmd

Jump to

Keyboard shortcuts

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