Documentation
¶
Index ¶
Constants ¶
View Source
const (
PreInstall = "pre-install"
PostInstall = "post-install"
PreDelete = "pre-delete"
PostDelete = "post-delete"
PreUpgrade = "pre-upgrade"
PostUpgrade = "post-upgrade"
PreRollback = "pre-rollback"
PostRollback = "post-rollback"
ReleaseTestSuccess = "test-success"
ReleaseTestFailure = "test-failure"
)
Types of hooks
View Source
const (
HookSucceeded = "hook-succeeded"
HookFailed = "hook-failed"
BeforeHookCreation = "before-hook-creation"
)
Type of policy for deleting the hook
View Source
const HookAnno = "helm.sh/hook"
HookAnno is the label name for a hook
View Source
const HookDeleteAnno = "helm.sh/hook-delete-policy"
HookDeleteAnno is the label name for the delete policy for a hook
View Source
const HookWeightAnno = "helm.sh/hook-weight"
HookWeightAnno is the label name for a hook weight
Variables ¶
This section is empty.
Functions ¶
func FilterTestHooks ¶
func FilterTestHooks(hooks []*release.Hook) []*release.Hook
FilterTestHooks filters the list of hooks are returns only testing hooks.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.