Documentation ¶
Index ¶
Constants ¶
View Source
const ( StateNeedsInstall string = "NeedsInstall" StateNeedsUpgrade string = "NeedsUpgrade" StateUnchanged string = "Unchanged" StateError string = "Error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helm ¶
type Helm struct { ActionClientGetter helmclient.ActionClientGetter Preflights []Preflight }
type Preflight ¶
type Preflight interface { // Install runs checks that should be successful prior // to installing the Helm release. It is provided // a Helm release and returns an error if the // check is unsuccessful Install(context.Context, *release.Release) error // Upgrade runs checks that should be successful prior // to upgrading the Helm release. It is provided // a Helm release and returns an error if the // check is unsuccessful Upgrade(context.Context, *release.Release) error }
Preflight is a check that should be run before making any changes to the cluster
Click to show internal directories.
Click to hide internal directories.