Documentation ¶
Index ¶
- func Help(name string, writer io.Writer) string
- func LoadConfig(name string, args []string, logOptions []log.Option, output io.Writer, ...) (*agent.Config, error)
- func NewAgentConfig(c *Config, logOptions []log.Option, allowUnknownConfig bool) (*agent.Config, error)
- func NewRunCommand(logOptions []log.Option, allowUnknownConfig bool) cli.Command
- type Command
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Help ¶ added in v0.10.1
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.1
func NewAgentConfig ¶ added in v0.10.0
Types ¶
type Config ¶ added in v0.10.0
type Config struct { Agent *agentConfig `hcl:"agent"` 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.