config

package
v0.0.0-...-f493439 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSampleConfigYaml

func GenerateSampleConfigYaml(filePath string) error

initConfig reads in config file and ENV variables if set.

func StoreConfigInViper

func StoreConfigInViper(config *Configurations)

Types

type Configurations

type Configurations struct {
	MinikubeConfig MinikubeConfig
}

func GetConfigFromViper

func GetConfigFromViper() *Configurations

func LoadConfigYaml

func LoadConfigYaml(filePath string) (*Configurations, error)

type MinikubeConfig

type MinikubeConfig struct {
	FilePath string
}

Jump to

Keyboard shortcuts

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