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

Method Restart

pkg/mocks/mock_docker_compose_api.go:361–366  ·  view source on GitHub ↗

Restart mocks base method.

(ctx context.Context, projectName string, options api.RestartOptions)

Source from the content-addressed store, hash-verified

359
360// Restart mocks base method.
361func (m *MockCompose) Restart(ctx context.Context, projectName string, options api.RestartOptions) error {
362 m.ctrl.T.Helper()
363 ret := m.ctrl.Call(m, "Restart", ctx, projectName, options)
364 ret0, _ := ret[0].(error)
365 return ret0
366}
367
368// Restart indicates an expected call of Restart.
369func (mr *MockComposeMockRecorder) Restart(ctx, projectName, options any) *gomock.Call {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected