package phases
import "k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/reset"
Index ¶
- func CleanDir(filePath string) error
- func IsDirEmpty(dir string) (bool, error)
- func NewCleanupNodePhase() workflow.Phase
- func NewPreflightPhase() workflow.Phase
- func NewRemoveETCDMemberPhase() workflow.Phase
Functions ¶
func CleanDir ¶
CleanDir removes everything in a directory, but not the directory itself
func IsDirEmpty ¶
IsDirEmpty returns true if a directory is empty
func NewCleanupNodePhase ¶
NewCleanupNodePhase creates a kubeadm workflow phase that cleanup the node
func NewPreflightPhase ¶
NewPreflightPhase creates a kubeadm workflow phase implements preflight checks for reset
func NewRemoveETCDMemberPhase ¶
NewRemoveETCDMemberPhase creates a kubeadm workflow phase for remove-etcd-member
Source Files ¶
cleanupnode.go data.go preflight.go removeetcdmember.go unmount_linux.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 27 packages
- Last checked
- 3 hours ago –
Tools for package owners.