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

var iptablesCleanupInstructions

var cniCleanupInstructions

type resetOptions

type resetData

// newResetOptions returns a struct ready for being used for creating cmd join flags.
func newResetOptions() *resetOptions {}

// newResetData returns a new resetData struct to be used for the execution of the kubeadm reset workflow.
func newResetData(cmd *cobra.Command, opts *resetOptions, in io.Reader, out io.Writer, allowExperimental bool) (*resetData, error) {}

// AddResetFlags adds reset flags
func AddResetFlags(flagSet *flag.FlagSet, resetOptions *resetOptions) {}

// newCmdReset returns the "kubeadm reset" command
func newCmdReset(in io.Reader, out io.Writer, resetOptions *resetOptions) *cobra.Command {}

// ResetCfg returns the ResetConfiguration.
func (r *resetData) ResetCfg() *kubeadmapi.ResetConfiguration {}

// Cfg returns the InitConfiguration.
func (r *resetData) Cfg() *kubeadmapi.InitConfiguration {}

// DryRun returns the dryRun flag.
func (r *resetData) DryRun() bool {}

// CleanupTmpDir returns the cleanupTmpDir flag.
func (r *resetData) CleanupTmpDir() bool {}

// CertificatesDir returns the CertificatesDir.
func (r *resetData) CertificatesDir() string {}

// Client returns the Client for accessing the cluster.
func (r *resetData) Client() clientset.Interface {}

// ForceReset returns the forceReset flag.
func (r *resetData) ForceReset() bool {}

// InputReader returns the io.reader used to read messages.
func (r *resetData) InputReader() io.Reader {}

// IgnorePreflightErrors returns the list of preflight errors to ignore.
func (r *resetData) IgnorePreflightErrors() sets.Set[string] {}

// CRISocketPath returns the criSocketPath.
func (r *resetData) CRISocketPath() string {}

func resetDetectCRISocket(resetCfg *kubeadmapi.ResetConfiguration, initCfg *kubeadmapi.InitConfiguration) (string, error) {}