arc

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnInstaller

type UnInstaller struct {
	// contains filtered or unexported fields
}

UnInstaller handles Azure Arc cleanup operations

func NewUnInstaller

func NewUnInstaller(logger *logrus.Logger) *UnInstaller

NewUnInstaller creates a new Arc UnInstaller

func (*UnInstaller) Execute

func (u *UnInstaller) Execute(ctx context.Context) error

Execute performs Arc cleanup as part of the unbootstrap process This method is designed to be called from unbootstrap steps and handles all Arc-related cleanup It's resilient to failures and continues cleanup even if some operations fail

func (*UnInstaller) GetName

func (u *UnInstaller) GetName() string

GetName returns the cleanup step name

func (*UnInstaller) IsCompleted

func (u *UnInstaller) IsCompleted(ctx context.Context) bool

IsCompleted checks if Arc cleanup has been completed always returns false to ensure cleanup is attempted

Jump to

Keyboard shortcuts

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