Documentation ¶
Index ¶
- type Command
- func (c *Command) AutocompleteArgs() complete.Predictor
- func (c *Command) AutocompleteFlags() complete.Flags
- func (c *Command) Flags() *base.FlagSets
- func (c *Command) Help() string
- func (c *Command) ParseFlagsAndConfig(args []string) int
- func (c *Command) Reload(newConf *config.Config) error
- func (c *Command) Run(args []string) int
- func (c *Command) StartController(ctx context.Context) error
- func (c *Command) StartWorker() error
- func (c *Command) Synopsis() string
- func (c *Command) WaitForInterrupt() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { *base.Server SighupCh chan struct{} SigUSR2Ch chan struct{} Config *config.Config // contains filtered or unexported fields }
func (*Command) AutocompleteArgs ¶
func (*Command) AutocompleteFlags ¶
func (*Command) ParseFlagsAndConfig ¶
func (*Command) StartWorker ¶
func (*Command) WaitForInterrupt ¶
Click to show internal directories.
Click to hide internal directories.