hooks

package
v0.0.0-...-2cf6300 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HookAnno is the label name for a hook
	HookAnno = "helm.sh/hook"
	// HookWeightAnno is the label name for a hook weight
	HookWeightAnno = "helm.sh/hook-weight"
	// HookDeleteAnno is the label name for the delete policy for a hook
	HookDeleteAnno = "helm.sh/hook-delete-policy"
)
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"
	CRDInstall         = "crd-install"
)

Types of hooks

View Source
const (
	HookSucceeded      = "hook-succeeded"
	HookFailed         = "hook-failed"
	BeforeHookCreation = "before-hook-creation"
)

Type of policy for deleting the hook

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