Documentation ¶
Index ¶
- func NewDebugLog(log logr.Logger) action.DebugLog
- type ActionError
- type LogBuffer
- type Runner
- func (r *Runner) Install(ctx context.Context, hr v2.HelmRelease, chart *chart.Chart, ...) (*release.Release, error)
- func (r *Runner) ObserveLastRelease(hr v2.HelmRelease) (*release.Release, error)
- func (r *Runner) Rollback(hr v2.HelmRelease) error
- func (r *Runner) Test(hr v2.HelmRelease) (*release.Release, error)
- func (r *Runner) Uninstall(hr v2.HelmRelease) error
- func (r *Runner) Upgrade(ctx context.Context, hr v2.HelmRelease, chart *chart.Chart, ...) (*release.Release, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionError ¶ added in v0.9.0
func (ActionError) Error ¶ added in v0.9.0
func (e ActionError) Error() string
func (ActionError) Unwrap ¶ added in v0.9.0
func (e ActionError) Unwrap() error
type LogBuffer ¶ added in v0.9.0
type LogBuffer struct {
// contains filtered or unexported fields
}
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner represents a Helm action runner capable of performing Helm operations for a v2beta1.HelmRelease.
func NewRunner ¶
func NewRunner(getter genericclioptions.RESTClientGetter, storageNamespace string, logger logr.Logger) (*Runner, error)
NewRunner constructs a new Runner configured to run Helm actions with the given genericclioptions.RESTClientGetter, and the release and storage namespace configured to the provided values.
func (*Runner) Install ¶
func (r *Runner) Install(ctx context.Context, hr v2.HelmRelease, chart *chart.Chart, values chartutil.Values) (*release.Release, error)
Install runs a Helm install action for the given v2beta1.HelmRelease.
func (*Runner) ObserveLastRelease ¶
ObserveLastRelease observes the last revision, if there is one, for the actual Helm release associated with the given v2beta1.HelmRelease.
func (*Runner) Rollback ¶
func (r *Runner) Rollback(hr v2.HelmRelease) error
Rollback runs an Helm rollback action for the given v2beta1.HelmRelease.
Click to show internal directories.
Click to hide internal directories.