Documentation ¶
Index ¶
- Constants
- func AutologinMain()
- func BootstrapMain()
- func CheckUserDefineIPv4Address(ipv4 string, network types.NetworkResource) error
- func CheckUserDefineNetwork(name string) (*types.NetworkResource, error)
- func CurrentConsole() (console string)
- func CurrentEngine() (engine string)
- func Generate(generateServer bool, outDir string, hostnames []string) error
- func Main()
- func PreloadImages(clientFactory func() (dockerClient.APIClient, error), imagesDir string) error
- func RemoveEngineFromCompose(name string) error
- func UdevSettle() error
- type Images
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 Main ¶
func Main()
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.