config

package
v0.0.0-...-5168a6d Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2018 License: Apache-2.0 Imports: 3 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationInfo

type ConfigurationInfo struct {
	MachineName string            `json:"machineName"`
	Arch        string            `json:"arch"`
	Tags        map[string]string `json:"tags"`
	BindPath    string            `json:"bindPath"`
	EtcdAddress string            `json:"etcdAddress"`
	PublicIP    string            `json:"publicIP"`
	Zone        string            `json:"zone"`
	EtcdAuth    etcdAuth          `json:"etcdAuth"`
	EtcdTLS     etcdTLS           `json:"etcdTLS"`
}

ConfigurationInfo contains the config file's content

func GetConfiguration

func GetConfiguration() ConfigurationInfo

GetConfiguration reads the configuration from config.json and returns it

Jump to

Keyboard shortcuts

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