Documentation
¶
Overview ¶
Package resourceset reconciles flux-operator ResourceSets as first-class DAG nodes: wait on dependsOn / inputsFrom RSIPs / the structural parent KS, render the RS via the resourceset package, and emit every child through the shared emission transaction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
*base.Controller
// Inputs fetches registry-backed provider content through the shared OCI owner.
Inputs *oci.Fetcher
// Retry controls transient failures during provider acquisition.
Retry cache.RetryConfig
// AllowMissingSecrets applies the source credential policy to provider inputs.
AllowMissingSecrets bool
// contains filtered or unexported fields
}
Controller orchestrates ResourceSet reconciliation. Reconcile-shaping state (Filter, Index, Existence) flows in via Configure exactly once before StartLifecycle — the same "config is read-only after StartLifecycle" invariant the KS and HR controllers carry, encoded in the embedded *base.Controller.
func (*Controller) Owns ¶ added in v0.7.3
func (*Controller) Owns(id manifest.NamedResource) bool
Owns reports whether id belongs to the ResourceSet controller.
func (*Controller) ReconcileNode ¶
func (c *Controller) ReconcileNode( ctx context.Context, id manifest.NamedResource, level manifest.DrainLevel, previous schedule.Result, ) *base.Execution
ReconcileNode captures one ResourceSet execution for the scheduler.