phases

package
v1.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 28 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanDir

func CleanDir(filePath string) error

CleanDir removes everything in a directory, but not the directory itself

func IsDirEmpty added in v1.26.0

func IsDirEmpty(dir string) (bool, error)

IsDirEmpty returns true if a directory is empty

func NewCleanupNodePhase

func NewCleanupNodePhase() workflow.Phase

NewCleanupNodePhase creates a kubeadm workflow phase that cleanup the node

func NewPreflightPhase

func NewPreflightPhase() workflow.Phase

NewPreflightPhase creates a kubeadm workflow phase implements preflight checks for reset

func NewRemoveETCDMemberPhase

func NewRemoveETCDMemberPhase() workflow.Phase

NewRemoveETCDMemberPhase creates a kubeadm workflow phase for remove-etcd-member

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL