Documentation ¶
Index ¶
- func Help(name string, writer io.Writer) string
- func LoadConfig(name string, args []string, logOptions []log.Option, output io.Writer, ...) (*server.Config, error)
- func NewRunCommand(logOptions []log.Option, allowUnknownConfig bool) cli.Command
- func NewServerConfig(c *Config, logOptions []log.Option, allowUnknownConfig bool) (*server.Config, error)
- type Command
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Help ¶ added in v0.10.0
Help is a standalone function that prints a help message to writer. It is used by both the run and validate commands, so they can share flag usage messages.
func LoadConfig ¶ added in v0.10.0
func NewRunCommand ¶ added in v0.10.0
Types ¶
type Config ¶ added in v0.10.0
type Config struct { Server *serverConfig `hcl:"server"` Plugins *catalog.HCLPluginConfigMap `hcl:"plugins"` Telemetry telemetry.FileConfig `hcl:"telemetry"` HealthChecks health.Config `hcl:"health_checks"` UnusedKeys []string `hcl:",unusedKeys"` }
Config contains all available configurables, arranged by section
Click to show internal directories.
Click to hide internal directories.