Documentation
¶
Overview ¶
Package helmrelease implements the HelmReleaseController.
Index ¶
- type Controller
- func (*Controller) Owns(id manifest.NamedResource) bool
- func (c *Controller) PreviousRender(ctx context.Context, obj manifest.BaseManifest, previous schedule.Result) base.History
- func (c *Controller) ReconcileNode(ctx context.Context, id manifest.NamedResource, level manifest.DrainLevel, ...) *base.Execution
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
*base.Controller
Helm *helm.Client
// Options applied to every template call.
Options helm.Options
}
Controller orchestrates HelmRelease reconciliation. Reconcile-shaping state (Filter, ParentOf) flows in via Configure exactly once before StartLifecycle.
func New ¶
func New(controller *base.Controller, h *helm.Client, opts helm.Options) *Controller
New constructs a HelmRelease controller.
func (*Controller) Owns ¶ added in v0.7.3
func (*Controller) Owns(id manifest.NamedResource) bool
Owns reports whether id belongs to the HelmRelease controller.
func (*Controller) PreviousRender ¶ added in v0.7.3
func (c *Controller) PreviousRender( ctx context.Context, obj manifest.BaseManifest, previous schedule.Result, ) base.History
PreviousRender prepares the immutable candidate with captured values and admitted charts without runtime effects.
func (*Controller) ReconcileNode ¶ added in v0.3.4
func (c *Controller) ReconcileNode( ctx context.Context, id manifest.NamedResource, level manifest.DrainLevel, previous schedule.Result, ) *base.Execution
ReconcileNode runs id's reconcile under the dag engine, returning the blocked dependency set (nil = terminalized). The orchestrator's scheduler Dispatcher calls this for HelmRelease nodes.
Click to show internal directories.
Click to hide internal directories.