resourceset

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
	// 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 New

func New(s *store.Store, t *task.Service, owner *cache.Cache) *Controller

New constructs a ResourceSet controller.

func (*Controller) Owns

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL