update

package
v0.0.0-...-a7b7215 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: UPL-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler() handlerspi.StateMachineHandler

Types

type HelmHandler

type HelmHandler struct {
	common.BaseHandler
}

func (HelmHandler) CheckDependencies

func (h HelmHandler) CheckDependencies(context handlerspi.HandlerContext) result.Result

func (HelmHandler) DoWork

DoWork updates the module using Helm

func (HelmHandler) DoWorkUpdateStatus

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

DoWorkUpdateStatus updates the status for the work state

func (HelmHandler) GetWorkName

func (h HelmHandler) GetWorkName() string

GetWorkName returns the work name

func (HelmHandler) IsWorkDone

func (h HelmHandler) IsWorkDone(ctx handlerspi.HandlerContext) (bool, result.Result)

IsWorkDone Indicates whether a module is updated and ready

func (HelmHandler) IsWorkNeeded

func (h HelmHandler) IsWorkNeeded(ctx handlerspi.HandlerContext) (bool, result.Result)

IsWorkNeeded returns true if update is needed

func (HelmHandler) PostWork

PostWork does installation pre-work

func (HelmHandler) PostWorkUpdateStatus

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

PostWorkUpdateStatus does the post-work status update

func (HelmHandler) PreWork

PreWork does the pre-work

func (HelmHandler) PreWorkUpdateStatus

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

PreWorkUpdateStatus updates the status for the pre-work state

func (HelmHandler) WorkCompletedUpdateStatus

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

WorkCompletedUpdateStatus updates the status to completed

Jump to

Keyboard shortcuts

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