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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdTLSClientConfig

type EtcdTLSClientConfig struct {
	CertFile string
	KeyFile  string
	CAFile   string
}

type MetronConfig

type MetronConfig struct {
	IncomingUDPPort               int
	SharedSecret                  string
	EtcdUrls                      []string
	LoggregatorDropsondePort      int
	Index                         string
	EtcdMaxConcurrentRequests     int
	EtcdQueryIntervalMilliseconds int
	Zone                          string
	EtcdRequireTLS                bool
	EtcdTLSClientConfig           EtcdTLSClientConfig
}

type TestConfig

type TestConfig struct {
	DopplerEndpoint string
	SkipSSLVerify   bool

	DropsondePort int

	EtcdUrls            []string
	SharedSecret        string
	EtcdRequireTLS      bool
	EtcdTLSClientConfig EtcdTLSClientConfig
}

func Load

func Load() *TestConfig

func (*TestConfig) SaveMetronConfig

func (tc *TestConfig) SaveMetronConfig()

Jump to

Keyboard shortcuts

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