delete

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: UPL-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler() handlerspi.StateMachineHandler

Types

type ComponentHandler

type ComponentHandler struct{}

func (ComponentHandler) CheckDependencies

func (h ComponentHandler) CheckDependencies(ctx handlerspi.HandlerContext) result.Result

CheckDependencies checks if the dependencies are ready

func (ComponentHandler) DoWork

DoWork uninstalls the module using Helm

func (ComponentHandler) DoWorkUpdateStatus

func (h ComponentHandler) DoWorkUpdateStatus(ctx handlerspi.HandlerContext) result.Result

DoWorkUpdateStatus does the work status update

func (ComponentHandler) GetWorkName

func (h ComponentHandler) GetWorkName() string

GetWorkName returns the work name

func (ComponentHandler) IsWorkDone

IsWorkDone Indicates whether a module is uninstalled

func (ComponentHandler) IsWorkNeeded

IsWorkNeeded returns true if uninstall is needed

func (ComponentHandler) PostWork

PostWork does installation pre-work

func (ComponentHandler) PostWorkUpdateStatus

func (h ComponentHandler) PostWorkUpdateStatus(ctx handlerspi.HandlerContext) result.Result

PostWorkUpdateStatus does the post-work status update

func (ComponentHandler) PreWork

PreWork does the pre-work

func (ComponentHandler) PreWorkUpdateStatus

func (h ComponentHandler) PreWorkUpdateStatus(ctx handlerspi.HandlerContext) result.Result

PreWorkUpdateStatus does the lifecycle pre-Work status update

func (ComponentHandler) WorkCompletedUpdateStatus

func (h ComponentHandler) WorkCompletedUpdateStatus(ctx handlerspi.HandlerContext) result.Result

WorkCompletedUpdateStatus does the lifecycle completed Work status update

Jump to

Keyboard shortcuts

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