internal/

directory
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

Directories

Path Synopsis
cli
Package cli wires flate's command-line interface using cobra.
Package cli wires flate's command-line interface using cobra.
output
Package output owns serialization and terminal presentation of prepared values.
Package output owns serialization and terminal presentation of prepared values.
testrunner
Package testrunner classifies completed reconcile results for flate test.
Package testrunner classifies completed reconcile results for flate test.
core
application
Package application screens content for possible entry applications.
Package application screens content for possible entry applications.
claimpath
Package claimpath queries slash-terminated claim prefixes.
Package claimpath queries slash-terminated claim prefixes.
keylock
Package keylock provides per-key mutual-exclusion locks that honor context cancellation.
Package keylock provides per-key mutual-exclusion locks that honor context cancellation.
kustpath
Package kustpath resolves lexical discovery references.
Package kustpath resolves lexical discovery references.
resourcesetinput
Package resourcesetinput owns ResourceSet input composition and template evaluation.
Package resourcesetinput owns ResourceSet input composition and template evaluation.
engine
baseline
Package baseline resolves one base revision and admits lazy input views.
Package baseline resolves one base revision and admits lazy input views.
change
Package change computes file-level differences between two filesystem trees and maps them onto the Flux resources they affect.
Package change computes file-level differences between two filesystem trees and maps them onto the Flux resources they affect.
change/inputprojection
Package inputprojection binds transient content evidence to immutable data inputs.
Package inputprojection binds transient content evidence to immutable data inputs.
controllers/artifactgenerator
Package artifactgenerator evaluates ArtifactGenerators and publishes their ExternalArtifacts.
Package artifactgenerator evaluates ArtifactGenerators and publishes their ExternalArtifacts.
controllers/base
Package base owns shared controller lifecycle, execution acceptance and publication.
Package base owns shared controller lifecycle, execution acceptance and publication.
controllers/helmrelease
Package helmrelease implements the HelmReleaseController.
Package helmrelease implements the HelmReleaseController.
controllers/kustomization
Package kustomization reconciles Flux Kustomizations: wait on dependsOn / sourceRef / structural parent, resolve postBuild substitutions, run the kustomize SDK, parse the result back into the Store, and publish an Emission.
Package kustomization reconciles Flux Kustomizations: wait on dependsOn / sourceRef / structural parent, resolve postBuild substitutions, run the kustomize SDK, parse the result back into the Store, and publish an Emission.
controllers/resourceset
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.
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.
controllers/source
Package source reconciles Flux source CRs (GitRepository, OCIRepository, Bucket, ExternalArtifact, HelmRepository) into on-disk artifacts via per-kind Fetcher implementations from internal/engine/source, then publishes the result to the Store.
Package source reconciles Flux source CRs (GitRepository, OCIRepository, Bucket, ExternalArtifact, HelmRepository) into on-disk artifacts via per-kind Fetcher implementations from internal/engine/source, then publishes the result to the Store.
depwait
Package depwait resolves a controller's NamedResource dependencies for the dag scheduler: Classify decides, WITHOUT blocking, whether each dep is Ready, terminally Failed, or still blocked (parkable).
Package depwait resolves a controller's NamedResource dependencies for the dag scheduler: Classify decides, WITHOUT blocking, whether each dep is Ready, terminally Failed, or still blocked (parkable).
diff
Package diff compares groups of rendered Kubernetes manifests.
Package diff compares groups of rendered Kubernetes manifests.
discovery
Package discovery hydrates the store, resolves local source identities, and publishes immutable discovery records, ownership claims and resource-graph readers.
Package discovery hydrates the store, resolves local source identities, and publishes immutable discovery records, ownership claims and resource-graph readers.
helm
Package helm wraps helm.sh/helm/v4 to render HelmReleases without shelling out to the `helm` binary.
Package helm wraps helm.sh/helm/v4 to render HelmReleases without shelling out to the `helm` binary.
helm/chartinput
Package chartinput enumerates regular files under Helm's input policies.
Package chartinput enumerates regular files under Helm's input policies.
helm/deterministic
Package deterministic provides drop-in replacements for the nondeterministic functions Helm exposes to chart templates through sprig — the time-, crypto/rand-, and math/rand-backed ones (now, randAlphaNum, shuffle, genCA, …) — so flate renders byte-identically run to run.
Package deterministic provides drop-in replacements for the nondeterministic functions Helm exposes to chart templates through sprig — the time-, crypto/rand-, and math/rand-backed ones (now, randAlphaNum, shuffle, genCA, …) — so flate renders byte-identically run to run.
image
Package image discovers declared image fields and full tagged or digested references in rendered manifests using distribution/reference.
Package image discovers declared image fields and full tagged or digested references in rendered manifests using distribution/reference.
image/imageutil
Package imageutil collects image references from prepared document batches.
Package imageutil collects image references from prepared document batches.
kustomize
Package kustomize wraps sigs.k8s.io/kustomize/api so the rest of flate never invokes the `kustomize` CLI.
Package kustomize wraps sigs.k8s.io/kustomize/api so the rest of flate never invokes the `kustomize` CLI.
kustomize/krusty
Package krusty coordinates access to krusty's process-global schema and plugins.
Package krusty coordinates access to krusty's process-global schema and plugins.
kustomize/kustomizeinput
Package kustomizeinput classifies Kustomize's direct file and configuration inputs.
Package kustomizeinput classifies Kustomize's direct file and configuration inputs.
loader
Package loader hydrates a Store from Flux source filesystems.
Package loader hydrates a Store from Flux source filesystems.
orchestrator
Package orchestrator owns rendering and the resources of each invocation.
Package orchestrator owns rendering and the resources of each invocation.
resourceset
Package resourceset renders flux-operator ResourceSet CRs offline.
Package resourceset renders flux-operator ResourceSet CRs offline.
schedule
Package schedule drives bounded reconciliation to a structural input fixpoint.
Package schedule drives bounded reconciliation to a structural input fixpoint.
selection
Package selection owns render membership.
Package selection owns render membership.
source
Package source defines SDK contracts and shared helpers for Flux sources.
Package source defines SDK contracts and shared helpers for Flux sources.
source/bucket
Package bucket implements the source.Fetcher for KindBucket (S3-compatible object storage via minio-go).
Package bucket implements the source.Fetcher for KindBucket (S3-compatible object storage via minio-go).
source/cache
Package cache acquires verified source bytes into immutable memory or OCI-backed filesystems.
Package cache acquires verified source bytes into immutable memory or OCI-backed filesystems.
source/external
Package external reports standalone ExternalArtifacts without accepted content.
Package external reports standalone ExternalArtifacts without accepted content.
source/fetcherr
Package fetcherr describes transport failure facts shared by acquisition edges.
Package fetcherr describes transport failure facts shared by acquisition edges.
source/git
Package git implements the source.Fetcher for KindGitRepository.
Package git implements the source.Fetcher for KindGitRepository.
source/gitrepo
Package gitrepo selects and opens local Git working trees through go-git.
Package gitrepo selects and opens local Git working trees through go-git.
source/gittree
Package gittree admits direct inputs and lazy Git tree views.
Package gittree admits direct inputs and lazy Git tree views.
source/helmchart
Package helmchart resolves HelmRepository charts through the shared acquisition cache.
Package helmchart resolves HelmRepository charts through the shared acquisition cache.
source/httpconditional
Package httpconditional keeps validators scoped to the original request URL.
Package httpconditional keeps validators scoped to the original request URL.
source/oci
Package oci fetches verified OCI source layers through the shared acquisition cache.
Package oci fetches verified OCI source layers through the shared acquisition cache.
source/safepath
Package safepath validates archive names and confines disk paths to a root.
Package safepath validates archive names and confines disk paths to a root.
source/sourceignore
Package sourceignore builds Flux artifact-exclusion policy from in-tree .sourceignore files and caller-supplied spec.ignore patterns.
Package sourceignore builds Flux artifact-exclusion policy from in-tree .sourceignore files and caller-supplied spec.ignore patterns.
source/ssrfguard
Package ssrfguard is an opt-in SSRF egress guard for flate's outbound source fetches.
Package ssrfguard is an opt-in SSRF egress guard for flate's outbound source fetches.
store
Package store is the central, in-memory state container for the controller pipeline.
Package store is the central, in-memory state container for the controller pipeline.
task
Package task provides a lightweight goroutine lifecycle manager modeled on flux-local's TaskService.
Package task provides a lightweight goroutine lifecycle manager modeled on flux-local's TaskService.
tree
Package tree provides immutable, confined in-memory filesystems and private construction overlays.
Package tree provides immutable, confined in-memory filesystems and private construction overlays.
values
Package values implements HelmRelease values resolution and Kustomization postBuild substitution.
Package values implements HelmRelease values resolution and Kustomization postBuild substitution.
Package testutil is shared fixture scaffolding for tests across the repo — kept minimal so each test file stays self-describing.
Package testutil is shared fixture scaffolding for tests across the repo — kept minimal so each test file stays self-describing.
admissiontest
Package admissiontest prepares execution membership for controller fixtures.
Package admissiontest prepares execution membership for controller fixtures.
assert
Package assert holds dependency-free test assertion helpers usable from any package's tests.
Package assert holds dependency-free test assertion helpers usable from any package's tests.
cachetest
Package cachetest provides constructor-injected cache fixtures.
Package cachetest provides constructor-injected cache fixtures.
controllertest
Package controllertest drives controller fixtures through their task service.
Package controllertest drives controller fixtures through their task service.
fetchtest
Package fetchtest preserves the two acquisition phases in source tests.
Package fetchtest preserves the two acquisition phases in source tests.
filtertest
Package filtertest supplies in-memory relation fixtures for selection tests.
Package filtertest supplies in-memory relation fixtures for selection tests.
networktest
Package networktest binds invocation networks to test cleanup.
Package networktest binds invocation networks to test cleanup.
testfixture
Package testfixture owns disk scenarios and their isolated repositories and caches.
Package testfixture owns disk scenarios and their isolated repositories and caches.

Jump to

Keyboard shortcuts

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