Help us shape the future of Go! Take the 2026 Go Developer Survey

helm

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsHook

func IsHook(obj *unstructured.Unstructured) bool

func Weight

func Weight(obj *unstructured.Unstructured) int

note that we do not take into account if this is or is not a hook, caller should check

Types

type DeletePolicy

type DeletePolicy string
const (
	BeforeHookCreation DeletePolicy = "before-hook-creation"
	HookSucceeded      DeletePolicy = "hook-succeeded"
	HookFailed         DeletePolicy = "hook-failed"
)

func DeletePolicies

func DeletePolicies(obj *unstructured.Unstructured) []DeletePolicy

func NewDeletePolicy

func NewDeletePolicy(p string) (DeletePolicy, bool)

note that we do not take into account if this is or is not a hook, caller should check

func (DeletePolicy) DeletePolicy

func (p DeletePolicy) DeletePolicy() common.HookDeletePolicy

type Type

type Type string
const (
	PreInstall  Type = "pre-install"
	PreUpgrade  Type = "pre-upgrade"
	PostUpgrade Type = "post-upgrade"
	PostInstall Type = "post-install"
)

func NewType

func NewType(t string) (Type, bool)

func Types

func Types(obj *unstructured.Unstructured) []Type

func (Type) HookType

func (t Type) HookType() common.HookType

Jump to

Keyboard shortcuts

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