Documentation ¶
Index ¶
- Constants
- Variables
- func AutologinMain()
- func BootstrapMain()
- func CheckUserDefineIPv4Address(ipv4 string, network types.NetworkResource) error
- func CheckUserDefineNetwork(name string) (*types.NetworkResource, error)
- func ConsoleInitMain()
- 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 ¶
View Source
var (
SupportedDindVersions = []string{"cnrancher/docker:17.12.1-dind", "cnrancher/docker:18.03.1-dind"}
)
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 ConsoleInitMain ¶ added in v0.8.0
func ConsoleInitMain()
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 Main ¶
func Main()
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.