Documentation ¶
Index ¶
Constants ¶
View Source
const ( RKEKubeConfig = "kube_config_rancher-cluster.yml" RKEConfigFile = "rancher-cluster.yml" RKETemplate = `` /* 4540-byte string literal not displayed */ )
View Source
const OutputDirectory = "ranchhand-output"
Variables ¶
View Source
var ( PlatformToolVersions = map[string]string{ "kubectl": "v1.15.2", "helm": "v2.14.3", "rke": "v0.2.7", } PlatformToolURLs = map[string]RequiredToolURLs{ "darwin": { Kubectl: fmt.Sprintf("https://storage.googleapis.com/kubernetes-release/release/%s/bin/darwin/amd64/kubectl", PlatformToolVersions["kubectl"]), Helm: fmt.Sprintf("https://storage.googleapis.com/kubernetes-helm/helm-%s-darwin-amd64.tar.gz", PlatformToolVersions["helm"]), RKE: fmt.Sprintf("https://github.com/rancher/rke/releases/download/%s/rke_darwin-amd64", PlatformToolVersions["rke"]), }, "linux": { Kubectl: fmt.Sprintf("https://storage.googleapis.com/kubernetes-release/release/%s/bin/linux/amd64/kubectl", PlatformToolVersions["kubectl"]), Helm: fmt.Sprintf("https://storage.googleapis.com/kubernetes-helm/helm-%s-linux-amd64.tar.gz", PlatformToolVersions["helm"]), RKE: fmt.Sprintf("https://github.com/rancher/rke/releases/download/%s/rke_linux-amd64", PlatformToolVersions["rke"]), }, } )
Functions ¶
Types ¶
type Node ¶
func BuildNodes ¶
type RequiredToolURLs ¶
Click to show internal directories.
Click to hide internal directories.