config

package
v74.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: Apache-2.0, BSD-3-Clause, MIT Imports: 4 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 {
	EtcdUrls                  []string
	EtcdMaxConcurrentRequests int
	EtcdRequireTLS            bool
	EtcdTLSClientConfig       EtcdTLSClientConfig

	JobName                string
	Index                  string
	Syslog                 string
	ApiHost                string
	DopplerPort            uint32
	OutgoingDropsondePort  uint32
	MetronHost             string
	MetronPort             int
	GRPC                   GRPC
	SystemDomain           string
	SkipCertVerify         bool
	UaaHost                string
	UaaClient              string
	UaaClientSecret        string
	MonitorIntervalSeconds uint
	SecurityEventLog       string
	PPROFPort              uint32
}

func Parse

func Parse(r io.Reader) (*Config, error)

func ParseConfig

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

type EtcdTLSClientConfig

type EtcdTLSClientConfig struct {
	CertFile string
	KeyFile  string
	CAFile   string
}

type GRPC

type GRPC struct {
	Port     uint16
	CAFile   string
	CertFile string
	KeyFile  string
}

Jump to

Keyboard shortcuts

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