Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Capabilities ¶
type Capabilities struct {
Version string `json:"version"`
Commands map[string]CommandInfo `json:"commands"`
GlobalOpts GlobalOpts `json:"globalOptions"`
}
func GetCapabilities ¶
func GetCapabilities() Capabilities
type CommandInfo ¶
type GlobalOpts ¶
type OutputFormat ¶
type OutputFormat string
const ( FormatTable OutputFormat = "table" FormatJSON OutputFormat = "json" FormatYAML OutputFormat = "yaml" )
func (*OutputFormat) Set ¶
func (f *OutputFormat) Set(value string) error
func (*OutputFormat) String ¶
func (f *OutputFormat) String() string
func (*OutputFormat) Type ¶
func (f *OutputFormat) Type() string
Click to show internal directories.
Click to hide internal directories.