Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hooks ¶
type Hooks struct {
// contains filtered or unexported fields
}
Hooks represent the hooks that can be executed before and after the Helm Chart installation, it provides the user the ability to customize the process using shell scripts. These scripts can rely on local tools, like "kubectl", "oc" and others, while the Helm Charts are only using Kubernetes resources. Ideally these scripts are temporary measures, and should be replaced by Helm Chart related resources as soon as possible.
func NewHooks ¶
func NewHooks( cfs *chartfs.ChartFS, dep *config.Dependency, stdout io.Writer, stderr io.Writer, ) *Hooks
NewHooks instantiates a hooks handler for the given ChartFS and Dependency.
func (*Hooks) PostDeploy ¶
PostDeploy executes the "post-deploy.sh" hook script with the given values.
Click to show internal directories.
Click to hide internal directories.