config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2016 License: Apache-2.0 Imports: 6 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Registry string `json:"registry"`
	// docker
	Cluster_name  string `json:"cluster_name"`
	Registry_host string `json:"registry_host"`
	Registry_port string `json:"registry_port"`
	// olregistry
	Reg_cluster []string `json:"reg_cluster"`
	// local
	Reg_dir string `json:"reg_dir"`

	Worker_port string `json:"worker_port"`
	Docker_host string `json:"docker_host"`
	// for unit testing to skip pull path
	Skip_pull_existing bool `json:"Skip_pull_existing"`
}

func ParseConfig

func ParseConfig(path string) (*Config, error)

func (*Config) Dump

func (c *Config) Dump()

Jump to

Keyboard shortcuts

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