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

Method Ps

pkg/mocks/mock_docker_compose_api.go:290–296  ·  view source on GitHub ↗

Ps mocks base method.

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

Source from the content-addressed store, hash-verified

288
289// Ps mocks base method.
290func (m *MockCompose) Ps(ctx context.Context, projectName string, options api.PsOptions) ([]api.ContainerSummary, error) {
291 m.ctrl.T.Helper()
292 ret := m.ctrl.Call(m, "Ps", ctx, projectName, options)
293 ret0, _ := ret[0].([]api.ContainerSummary)
294 ret1, _ := ret[1].(error)
295 return ret0, ret1
296}
297
298// Ps indicates an expected call of Ps.
299func (mr *MockComposeMockRecorder) Ps(ctx, projectName, options any) *gomock.Call {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected