config

package
v0.0.0-...-e1c9297 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultStoreURL

func DefaultStoreURL() string

DefaultStoreURL gets the default location of the store

func GenerateNodeID

func GenerateNodeID() (string, error)

func Version

func Version() string

Version get the version number of the deploymanagement.

Types

type Settings

type Settings struct {
	Debug             bool
	LogFormat         string        `mapstructure:"log-format"`
	LogFile           string        `mapstructure:"log-file"`
	NodeID            string        `mapstructure:"node-id"`
	UnlockTimeout     time.Duration `mapstructure:"unlock-timeout"`
	UnlockTimeoutHard bool          `mapstructure:"unlock-timeout-hard"`
	StoreURL          string        `mapstructure:"store-url"`
	StoreScheme       string        `mapstructure:"store-scheme"`
}

Jump to

Keyboard shortcuts

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