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

Method RunOneOffContainer

pkg/mocks/mock_docker_compose_api.go:375–381  ·  view source on GitHub ↗

RunOneOffContainer mocks base method.

(ctx context.Context, project *types.Project, opts api.RunOptions)

Source from the content-addressed store, hash-verified

373
374// RunOneOffContainer mocks base method.
375func (m *MockCompose) RunOneOffContainer(ctx context.Context, project *types.Project, opts api.RunOptions) (int, error) {
376 m.ctrl.T.Helper()
377 ret := m.ctrl.Call(m, "RunOneOffContainer", ctx, project, opts)
378 ret0, _ := ret[0].(int)
379 ret1, _ := ret[1].(error)
380 return ret0, ret1
381}
382
383// RunOneOffContainer indicates an expected call of RunOneOffContainer.
384func (mr *MockComposeMockRecorder) RunOneOffContainer(ctx, project, opts any) *gomock.Call {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected