Documentation ¶
Index ¶
- func NewHandler() handlerspi.StateMachineHandler
- type HelmHandler
- func (h HelmHandler) CheckDependencies(context handlerspi.HandlerContext) result.Result
- func (h HelmHandler) DoWork(ctx handlerspi.HandlerContext) result.Result
- func (h HelmHandler) DoWorkUpdateStatus(ctx handlerspi.HandlerContext) result.Result
- func (h HelmHandler) GetWorkName() string
- func (h HelmHandler) IsWorkDone(ctx handlerspi.HandlerContext) (bool, result.Result)
- func (h HelmHandler) IsWorkNeeded(ctx handlerspi.HandlerContext) (bool, result.Result)
- func (h HelmHandler) PostWork(ctx handlerspi.HandlerContext) result.Result
- func (h HelmHandler) PostWorkUpdateStatus(ctx handlerspi.HandlerContext) result.Result
- func (h HelmHandler) PreWork(ctx handlerspi.HandlerContext) result.Result
- func (h HelmHandler) PreWorkUpdateStatus(ctx handlerspi.HandlerContext) result.Result
- func (h HelmHandler) WorkCompletedUpdateStatus(ctx handlerspi.HandlerContext) result.Result
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 ¶
func (h HelmHandler) DoWork(ctx handlerspi.HandlerContext) result.Result
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 ¶
func (h HelmHandler) PostWork(ctx handlerspi.HandlerContext) result.Result
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 ¶
func (h HelmHandler) PreWork(ctx handlerspi.HandlerContext) result.Result
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
Click to show internal directories.
Click to hide internal directories.