config

package
v0.0.0-...-c9a78fb Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: 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 Config

type Config struct {
	ConfigPath string `mapstructure:"config_path"`
	KubeConf   string `mapstructure:"kubeconf"`
	Registries []DockerRegistry
	LogFormat  string `mapstructure:"log_format"`
	LogLevel   string `mapstructure:"log_level"`
	LogFile    string `mapstructure:"log_file"`
}

func Load

func Load() (Config, error)

Load config using config.yaml file, values can be overridden by environment variables.

type DockerRegistry

type DockerRegistry struct {
	Name    string
	Config  string
	Exclude []string
	Include []string
}

Jump to

Keyboard shortcuts

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