run

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentConfig added in v0.10.0

func NewAgentConfig(c *Config, logOptions []log.Option) (*agent.Config, error)

Types

type Command

type Command struct {
	LogOptions []log.Option
}

func (*Command) Help

func (*Command) Help() string

func (*Command) Run

func (cmd *Command) Run(args []string) int

func (*Command) Synopsis

func (*Command) Synopsis() string

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

func ParseFile added in v0.10.0

func ParseFile(path string, expandEnv bool) (*Config, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL