config

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCLIFlags

func ParseCLIFlags(cfg *Config)

ParseCLIFlags updates config with supplied command line flags values

Types

type Config

type Config struct {
	Debug              bool
	ListenAddr         string
	CheckInterval      time.Duration
	AccessKey          string
	KubeAddr           string
	KubeCertFile       string
	KubeNodesThreshold int
	ETCDConfig         monitoring.ETCDConfig
	CertFile           string
	KeyFile            string
	CAFile             string
}

Config stores application configuration

Jump to

Keyboard shortcuts

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