Documentation
¶
Overview ¶
Package pocketidruntime observes the existing Core's single-host Docker/SQLite provider. Callers hold the installation lifecycle mutation lock throughout a transition or managed command; this package does not create another lifecycle.
Index ¶
- func Complete(ctx context.Context, workspace, project string, definition []byte, ...) (localevidence.OwnerRuntimeBinding, error)
- func Prepare(ctx context.Context, workspace, project string, definition []byte) error
- func PrepareApply(ctx context.Context, workspace, project string, definition []byte) error
- func Require(ctx context.Context, workspace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complete ¶
func Complete(ctx context.Context, workspace, project string, definition []byte, installed localevidence.OwnerRuntimeBinding) (localevidence.OwnerRuntimeBinding, error)
Complete binds the actual new incarnation to existing signed installation evidence. A restart/recreate invalidates it until the executor re-observes it.
func Prepare ¶
Prepare runs before every supported executor's up. The old container's process, HTTP queues, and restart identity must be gone before replacement. Restore activation and rollback use it: their data swap needs the drain.
func PrepareApply ¶ added in v0.55.0
PrepareApply is Prepare for an Apply, which swaps no data: a provider that already runs the authorized qualified image on the managed volume is kept.
Types ¶
This section is empty.