config

package
v0.0.0-...-5eb911e Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: Apache-2.0 Imports: 0 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 {
	Server Server
	Logs   Logs
}

Config is a combination of all available configurations.

func Load

func Load() *Config

Load initializes a default configuration struct.

type Logs

type Logs struct {
	Level  string
	Pretty bool
}

Logs defines the level and color for log configuration.

type Server

type Server struct {
	Addr       string
	Kubeconfig string
}

Server defines the general server configuration.

Jump to

Keyboard shortcuts

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