control

package
v0.8.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2016 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NAME          string = "rancher"
	BITS          int    = 2048
	ServerTlsPath string = "/etc/docker/tls"
	ClientTlsPath string = "/home/rancher/.docker"
	Cert          string = "cert.pem"
	Key           string = "key.pem"
	ServerCert    string = "server-cert.pem"
	ServerKey     string = "server-key.pem"
	CaCert        string = "ca.pem"
	CaKey         string = "ca-key.pem"
)
View Source
const (
	DEFAULT_STORAGE_CONTEXT = "console"
	DOCKER_PID_FILE         = "/var/run/docker.pid"
)

Variables

View Source
var (
	DOCKER_COMMAND = []string{
		"ros",
		"docker-init",
	}
)

Functions

func Generate added in v0.4.0

func Generate(generateServer bool, outDir string, hostnames []string) error

func Main

func Main()

func PreloadImages added in v0.8.0

func PreloadImages(clientFactory func() (dockerClient.APIClient, error), imagesDir string) error

func UdevSettle added in v0.8.0

func UdevSettle() error

Types

type Images added in v0.2.0

type Images struct {
	Current   string   `yaml:"current,omitempty"`
	Available []string `yaml:"available,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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