MCPcopy
hub / github.com/basecamp/once / Refresh

Method Refresh

internal/docker/namespace.go:186–189  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

184}
185
186func (n *Namespace) Refresh(ctx context.Context) error {
187 n.applications = nil
188 return n.restoreState(ctx)
189}
190
191func (n *Namespace) DockerRootDir(ctx context.Context) (string, error) {
192 info, err := n.client.Info(ctx)

Callers 8

TestGaplessDeploymentFunction · 0.95
TestUpdateChangeHostFunction · 0.95
RestoreMethod · 0.95
deployAppFunction · 0.80
UpdateMethod · 0.80
UpdateMethod · 0.80

Calls 1

restoreStateMethod · 0.95

Tested by 5

TestGaplessDeploymentFunction · 0.76
TestUpdateChangeHostFunction · 0.76
deployAppFunction · 0.64