config

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseDir

func BaseDir() string

BaseDir returns the location of the directory where the configuration files are stored

Types

type Configuration

type Configuration struct {
	Cors                 cors.Cors
	Repos                repos.Repos
	ReleasesEnabled      bool  `yaml:"releasesEnabled"`
	TillerPortForward    bool  `yaml:"tillerPortForward"`
	CacheRefreshInterval int64 `yaml:"cacheRefreshInterval"`
	Initialized          bool
}

Configuration is the the resulting environment based Configuration For now it only includes Cors info

func GetConfig

func GetConfig() (Configuration, error)

GetConfig returns the environment specific configuration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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