MCPcopy
hub / github.com/docker/compose / Top

Method Top

pkg/api/api.go:125–125  ·  view source on GitHub ↗

Top executes the equivalent to a `compose top`

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

Source from the content-addressed store, hash-verified

123 UnPause(ctx context.Context, projectName string, options PauseOptions) error
124 // Top executes the equivalent to a `compose top`
125 Top(ctx context.Context, projectName string, services []string) ([]ContainerProcSummary, error)
126 // Events executes the equivalent to a `compose events`
127 Events(ctx context.Context, projectName string, options EventsOptions) error
128 // Port executes the equivalent to a `compose port`

Callers 1

runTopFunction · 0.65

Implementers 3

MockComposepkg/mocks/mock_docker_compose_api.go
MockComposeMockRecorderpkg/mocks/mock_docker_compose_api.go
composeServicepkg/compose/compose.go

Calls

no outgoing calls

Tested by

no test coverage detected