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

Method Top

pkg/mocks/mock_docker_compose_api.go:432–438  ·  view source on GitHub ↗

Top mocks base method.

(ctx context.Context, projectName string, services []string)

Source from the content-addressed store, hash-verified

430
431// Top mocks base method.
432func (m *MockCompose) Top(ctx context.Context, projectName string, services []string) ([]api.ContainerProcSummary, error) {
433 m.ctrl.T.Helper()
434 ret := m.ctrl.Call(m, "Top", ctx, projectName, services)
435 ret0, _ := ret[0].([]api.ContainerProcSummary)
436 ret1, _ := ret[1].(error)
437 return ret0, ret1
438}
439
440// Top indicates an expected call of Top.
441func (mr *MockComposeMockRecorder) Top(ctx, projectName, services any) *gomock.Call {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected