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

Method List

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

List executes the equivalent to a `docker stack ls`

(ctx context.Context, options ListOptions)

Source from the content-addressed store, hash-verified

105 Ps(ctx context.Context, projectName string, options PsOptions) ([]ContainerSummary, error)
106 // List executes the equivalent to a `docker stack ls`
107 List(ctx context.Context, options ListOptions) ([]Stack, error)
108 // Kill executes the equivalent to a `compose kill`
109 Kill(ctx context.Context, projectName string, options KillOptions) error
110 // RunOneOffContainer creates a service oneoff container and starts its dependencies

Callers 2

completeProjectNamesFunction · 0.65
runListFunction · 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