config

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateLoggingFlagsFromConfig added in v0.1.3

func UpdateLoggingFlagsFromConfig(flagset *flag.FlagSet, conf *Config)

UpdateLoggingFlagsFromConfig extracts the logging-related options from the provided config and sets flags in the given flagset

Types

type Config

type Config struct {
	EtcdServers             []string
	EtcdKeyPrefix           string
	EtcdKeyFile             string
	EtcdCertFile            string
	EtcdCAFile              string
	EtcdRequestTimeout      float64
	EngineReconcileInterval float64
	PublicIP                string
	Verbosity               int
	RawMetadata             string
	AgentTTL                string
	VerifyUnits             bool
	AuthorizedKeysFile      string
}

func (*Config) Metadata

func (c *Config) Metadata() map[string]string

Jump to

Keyboard shortcuts

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