MCPcopy Create free account
hub / github.com/docker/compose / Restart

Method Restart

pkg/mocks/mock_docker_compose_api.go:369–372  ·  view source on GitHub ↗

Restart indicates an expected call of Restart.

(ctx, projectName, options any)

Source from the content-addressed store, hash-verified

367
368// Restart indicates an expected call of Restart.
369func (mr *MockComposeMockRecorder) Restart(ctx, projectName, options any) *gomock.Call {
370 mr.mock.ctrl.T.Helper()
371 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Restart", reflect.TypeOf((*MockCompose)(nil).Restart), ctx, projectName, options)
372}
373
374// RunOneOffContainer mocks base method.
375func (m *MockCompose) RunOneOffContainer(ctx context.Context, project *types.Project, opts api.RunOptions) (int, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected