MCPcopy Create free account
hub / github.com/compozy/agh / stubUpdateManager

Struct stubUpdateManager

internal/cli/lifecycle_test.go:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15)
16
17type stubUpdateManager struct {
18 checkFn func(context.Context, aghupdate.CheckOptions) (aghupdate.State, *aghupdate.Release, error)
19 applyFn func(context.Context, *aghupdate.Release) (aghupdate.AppliedBinary, error)
20 restoreFn func(aghupdate.AppliedBinary) error
21 finalizeFn func(aghupdate.AppliedBinary) error
22}
23
24func (s stubUpdateManager) Check(
25 ctx context.Context,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected