control

package
v0.0.0-...-36529b5 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 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

func AutologinMain()

func BootstrapMain

func BootstrapMain()

func CheckUserDefineIPv4Address

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

func CheckUserDefineNetwork

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

func CurrentConsole

func CurrentConsole() (console string)

CurrentConsole gets the name of the console that's running

func CurrentEngine

func CurrentEngine() (engine string)

CurrentEngine gets the name of the docker that's running

func Generate

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

func Main

func Main()

func PreloadImages

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

func RemoveEngineFromCompose

func RemoveEngineFromCompose(name string) error

func UdevSettle

func UdevSettle() error

Types

type Images

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