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

Method Stop

internal/docker/application.go:142–149  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

140}
141
142func (a *Application) Stop(ctx context.Context) error {
143 name, err := a.ContainerName(ctx)
144 if err != nil {
145 return err
146 }
147
148 return a.namespace.client.ContainerStop(ctx, name, container.StopOptions{})
149}
150
151func (a *Application) Start(ctx context.Context) error {
152 name, err := a.ContainerName(ctx)

Callers

nothing calls this directly

Calls 1

ContainerNameMethod · 0.95

Tested by

no test coverage detected