Documentation
¶
Overview ¶
Package cmd implements a command line interface (CLI) for agentctl tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "agentctl",
Short: "A CLI tool for the vnf-agent",
Long: `
A CLI tool to show the state of and to configure agents connected to
Etcd. Use the 'ETCDV3_ENDPOINTS'' environment variable or the 'endpoints'
flag in the command line to specify one or more Etcd instances to
connect to.`,
Example: `Specify the etcd to connect to and list all agents that it knows about:
$ export ETCDV3_ENDPOINTS=172.17.0.1:2379
$ ./agentctl list
Do as above, but with a command line flag:
$ ./agentctl --endpoints 172.17.0.1:2379 list
`,
}
RootCmd represents the base command when called without any subcommands.
Functions ¶
This section is empty.
Types ¶
Source Files
¶
- clean_cmd.go
- crud_cmd.go
- doc.go
- interface_cmd.go
- l2_cmd.go
- list_agents_cmd.go
- root_cmd.go
- show_agents_cmd.go
- watch_cmd.go
Click to show internal directories.
Click to hide internal directories.