config

package
v0.2.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2014 License: Apache-2.0 Imports: 8 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 {
	BootID             string
	EtcdServers        []string
	PublicIP           string
	Verbosity          int
	RawMetadata        string
	UnitPrefix         string
	AgentTTL           string
	VerifyUnits        bool
	AuthorizedKeysFile string
}

func (*Config) Metadata

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

Jump to

Keyboard shortcuts

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