hooks

package
v2.9.0-rc5+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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