Documentation ¶ Index ¶ func RunServer(config ServerConfig) int type Command func New(ctx context.Context, ui cli.Ui, logOutput io.Writer) *Command func (c *Command) Help() string func (c *Command) Run(args []string) int func (c *Command) Synopsis() string type ServerConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RunServer ¶ func RunServer(config ServerConfig) int Types ¶ type Command ¶ type Command struct { UI cli.Ui // contains filtered or unexported fields } func New ¶ func New(ctx context.Context, ui cli.Ui, logOutput io.Writer) *Command New returns a new server command func (*Command) Help ¶ func (c *Command) Help() string func (*Command) Run ¶ func (c *Command) Run(args []string) int func (*Command) Synopsis ¶ func (c *Command) Synopsis() string type ServerConfig ¶ type ServerConfig struct { Context context.Context Logger hclog.Logger ConsulConfig *api.Config ConsulClientConfig consul.ClientConfig K8sConfig *k8s.Config ProfilingPort int MetricsPort int PrimaryDatacenter string // contains filtered or unexported fields } Source Files ¶ View all Source files command.go server.go Click to show internal directories. Click to hide internal directories.