Documentation ¶ Index ¶ type Command func (c *Command) Help() string func (c *Command) Run(args []string) int func (c *Command) Synopsis() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Command ¶ type Command struct { UI cli.Ui // contains filtered or unexported fields } func (*Command) Help ¶ func (c *Command) Help() string func (*Command) Run ¶ func (c *Command) Run(args []string) int Run continually re-registers the service with Consul. This is needed because if the Consul Client pod is restarted, it loses all its service registrations. This command expects to be run as a sidecar and to be injected by the mutating webhook. func (*Command) Synopsis ¶ func (c *Command) Synopsis() string Source Files ¶ View all Source files command.go Click to show internal directories. Click to hide internal directories.