Documentation
¶
Overview ¶
Package agentsync re-deploys helmfile-based agent instances (applications/hermes/<id>, applications/openclaw/<id>) from their on-disk deployment directories. Shared by `obol stack import` (unconditional sync so restored secrets/tokens line up) and the stack-up/sell-resume record replay (internal/replay: only instances whose helm release is missing or failed).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListInstances ¶
func ListInstances(cfg *config.Config, runtime agentruntime.Runtime) []string
ListInstances returns the instance IDs with a deployment dir for runtime.
Types ¶
type Options ¶
type Options struct {
// OnlyMissing skips instances whose namespace already holds deployed
// helm releases. `helmfile sync` per agent costs a repo refresh plus a
// chart render and upgrade (tens of seconds), so the stack-up replay only
// pays it when the cluster actually lost the release.
OnlyMissing bool
}
Options controls SyncInstances.
Click to show internal directories.
Click to hide internal directories.