config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 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 BackendConfig

type BackendConfig struct {
	Type      string // docker or kubectl (for now)
	Docker    DockerConfig
	Kube      KuberConfig
	ExtraArgs []string // extra args pass to docker or kubectl
}

type Config

type Config struct {
	Port     int
	LogLevel string
	Backend  BackendConfig
	Servers  []string // for proxy mode
}

type DockerConfig

type DockerConfig struct {
	DockerPath string // default is /usr/bin/docker
	DockerSock string // default is /var/run/docker.sock
	DockerAPI  string // default is empty
}

type KuberConfig

type KuberConfig struct {
	KubectlPath string // default is /usr/bin/kubectl
	KubectlAPI  string // default is https://localhost:6443
}

Jump to

Keyboard shortcuts

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