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

Method Exec

pkg/mocks/mock_docker_compose_api.go:143–149  ·  view source on GitHub ↗

Exec mocks base method.

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

Source from the content-addressed store, hash-verified

141
142// Exec mocks base method.
143func (m *MockCompose) Exec(ctx context.Context, projectName string, options api.RunOptions) (int, error) {
144 m.ctrl.T.Helper()
145 ret := m.ctrl.Call(m, "Exec", ctx, projectName, options)
146 ret0, _ := ret[0].(int)
147 ret1, _ := ret[1].(error)
148 return ret0, ret1
149}
150
151// Exec indicates an expected call of Exec.
152func (mr *MockComposeMockRecorder) Exec(ctx, projectName, options any) *gomock.Call {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected