Documentation
¶
Index ¶
- func Execute() error
- func NewAddCmd(baseCmd *internalcmd.BaseCmd, opt ...cmdopts.CmdOption) (*cobra.Command, error)
- func NewDaemonCmd(baseCmd *cmd.BaseCmd, opt ...cmdopts.CmdOption) (*cobra.Command, error)
- func NewInitCmd(baseCmd *cmd.BaseCmd, opt ...cmdopts.CmdOption) (*cobra.Command, error)
- func NewInspectorCmd(baseCmd *internalcmd.BaseCmd, _ ...cmdopts.CmdOption) (*cobra.Command, error)
- func NewRemoveCmd(baseCmd *cmd.BaseCmd, opt ...cmdopts.CmdOption) (*cobra.Command, error)
- func NewRootCmd(c *RootCmd) (*cobra.Command, error)
- func NewSearchCmd(baseCmd *internalcmd.BaseCmd, opt ...cmdopts.CmdOption) (*cobra.Command, error)
- type AddCmd
- type DaemonCmd
- type InitCmd
- type InspectorCmd
- type RemoveCmd
- type RootCmd
- type SearchCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDaemonCmd ¶
NewDaemonCmd creates a newly configured (Cobra) command.
func NewInitCmd ¶
func NewInspectorCmd ¶
NewInspectorCmd creates a newly configured (Cobra) command.
func NewRemoveCmd ¶
NewRemoveCmd creates a newly configured (Cobra) command.
func NewSearchCmd ¶
Types ¶
type AddCmd ¶
type AddCmd struct {
*internalcmd.BaseCmd
Version string
Tools []string
Runtime string
Source string
Format internalcmd.OutputFormat
AllowDeprecated bool
CacheDisabled bool
CacheRefresh bool
CacheDir string
CacheTTL string
// contains filtered or unexported fields
}
AddCmd should be used to represent the 'add' command.
type InspectorCmd ¶
type InspectorCmd struct {
*internalcmd.BaseCmd
}
InspectorCmd represents the 'inspector' command.
type SearchCmd ¶
type SearchCmd struct {
*internalcmd.BaseCmd
Version string
Runtime string
Tools []string
Tags []string
Categories []string
License string
Source string
Format internalcmd.OutputFormat
IsOfficial bool
CacheDisabled bool
CacheRefresh bool
CacheDir string
CacheTTL string
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.