Documentation
¶
Index ¶
- Constants
- func DeleteNode(toDeleteHost *Host, kubeClient *kubernetes.Clientset, hasAnotherRole bool) error
- func IsHostListChanged(currentHosts, configHosts []*Host) bool
- type Host
- func (h *Host) CleanUp(toCleanPaths []string, cleanerImage string) error
- func (h *Host) CleanUpAll(cleanerImage string) error
- func (h *Host) CleanUpControlHost(workerRole, cleanerImage string) error
- func (h *Host) CleanUpWorkerHost(controlRole, cleanerImage string) error
- func (h *Host) TunnelUp() error
Constants ¶
View Source
const ( DockerAPIVersion = "1.24" K8sVersion = "1.8" )
View Source
const ( ToCleanEtcdDir = "/var/lib/etcd" ToCleanSSLDir = "/etc/kubernetes/ssl" ToCleanCNIConf = "/etc/cni" ToCleanCNIBin = "/opt/cni" ToCleanCalicoRun = "/var/run/calico" CleanerContainerName = "kube-cleaner" )
Variables ¶
This section is empty.
Functions ¶
func DeleteNode ¶
func DeleteNode(toDeleteHost *Host, kubeClient *kubernetes.Clientset, hasAnotherRole bool) error
func IsHostListChanged ¶
Types ¶
type Host ¶
func GetToDeleteHosts ¶
func (*Host) CleanUpAll ¶
func (*Host) CleanUpControlHost ¶
func (*Host) CleanUpWorkerHost ¶
Click to show internal directories.
Click to hide internal directories.