Documentation ¶
Index ¶
- Constants
- func DeleteNode(toDeleteHost *Host, kubeClient *kubernetes.Clientset) error
- func IsHostListChanged(currentHosts, configHosts []Host) bool
- func ParsePrivateKey(keyPath string) (ssh.Signer, error)
- func ParsePrivateKeyWithPassPhrase(keyPath string, passphrase []byte) (ssh.Signer, error)
- type Host
Constants ¶
View Source
const ( ToCleanEtcdDir = "/var/lib/etcd" ToCleanSSLDir = "/etc/kubernetes/ssl" ToCleanCNIConf = "/etc/cni" ToCleanCNIBin = "/opt/cni" ToCleanCalicoRun = "/var/run/calico" CleanerContainerName = "kube-cleaner" CleanerImage = "alpine:latest" )
View Source
const (
DockerAPIVersion = "1.24"
)
Variables ¶
This section is empty.
Functions ¶
func DeleteNode ¶
func DeleteNode(toDeleteHost *Host, kubeClient *kubernetes.Clientset) error
func IsHostListChanged ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.