kubernetes/cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

// NewCleanupNodePhase creates a kubeadm workflow phase that cleanup the node
func NewCleanupNodePhase() workflow.Phase {}

func runCleanupNode(c workflow.RunData) error {}

func removeContainers(criSocketPath string) error {}

// resetConfigDir is used to cleanup the files in the folder defined in dirsToClean.
func resetConfigDir(configPathDir string, dirsToClean []string, isDryRun bool) {}

// CleanDir removes everything in a directory, but not the directory itself
func CleanDir(filePath string) error {}

// IsDirEmpty returns true if a directory is empty
func IsDirEmpty(dir string) (bool, error) {}