control

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 54 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"
)

Variables

This section is empty.

Functions

func AutologinMain added in v1.0.4

func AutologinMain()

func BootstrapMain added in v1.1.1

func BootstrapMain()

func CheckUserDefineIPv4Address added in v1.5.0

func CheckUserDefineIPv4Address(ipv4 string, network types.NetworkResource) error

func CheckUserDefineNetwork added in v1.5.0

func CheckUserDefineNetwork(name string) (*types.NetworkResource, error)

func CurrentConsole added in v1.0.4

func CurrentConsole() (console string)

CurrentConsole gets the name of the console that's running

func CurrentEngine added in v1.0.4

func CurrentEngine() (engine string)

CurrentEngine gets the name of the docker that's running

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 RemoveEngineFromCompose added in v1.5.0

func RemoveEngineFromCompose(name 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
app

Jump to

Keyboard shortcuts

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