Documentation ¶
Index ¶
- type Command
- func (c *Command) EndpointCommand() *endpoint.Command
- func (c *Command) Execute(cmd *cobra.Command, args []string)
- func (c *Command) New() *cobra.Command
- func (c *Command) SetEndpointCommand(endpointCommand *endpoint.Command)
- func (c *Command) SetVersionCommand(versionCommand *version.Command)
- func (c *Command) VersionCommand() *version.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command represents the annactl command.
func (*Command) EndpointCommand ¶
EndpointCommand returns the endpoint subcommand of the annactl command.
func (*Command) SetEndpointCommand ¶
SetEndpointCommand sets the endpoint subcommand for the annactl command.
func (*Command) SetVersionCommand ¶
SetVersionCommand sets the version subcommand for the annactl command.
func (*Command) VersionCommand ¶
VersionCommand returns the version subcommand of the annactl command.
Click to show internal directories.
Click to hide internal directories.