Documentation
¶
Overview ¶
Package gitops is the Go port of .lok8s/libs/gitops — DEFERRED (post-refactor redesign), exactly like the bash.
The previous implementation emitted Flux Kustomization CRs with dependsOn chains and Argo sync-wave annotations, driven by spec.syncWave. That field was removed as part of the bootstrap/targets refactor; gitops output will be redesigned to work from the new services.yaml + targets model and re-enabled in a follow-up. Until then the module exists so `lo gitops` emits a clear error instead of a "command not found", and the dispatch tail's gitops::bootstrap stays a warn-only no-op. No exec happens anywhere in this package (nothing to capture via execx).
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrDeferred = ui.Handled(errors.New("gitops: deferred"))
ErrDeferred is the non-zero exit of the deferred subcommands (bash: `error …; return 1`) — the message was already printed.
Functions ¶
func Bootstrap ¶
Bootstrap is gitops::bootstrap, the provision-dispatch tail hook called when spec.gitops.provider is set: a warn-only no-op that always succeeds.
func BootstrapHook ¶
BootstrapHook returns Bootstrap in the shape of provision.Hooks.GitopsBootstrap.
Types ¶
This section is empty.