shared

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2016 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// APIKey that you can find at
	// https://www.acksin.com/console/credentials
	APIKey string
	// URL is the API URL that the agent will be pinging.
	URL string
	// MachineName is how the machine will be labeled on the
	// Console.
	MachineName string
}

Config is the configuration used by the Autotune Agent.

func ParseConfig added in v0.6.0

func ParseConfig(configFile string) (c *Config, err error)

ParseConfig reads and validates a configuration file.

Jump to

Keyboard shortcuts

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