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

Method Viz

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

Viz generates a graphviz graph of the project services

(ctx context.Context, project *types.Project, options VizOptions)

Source from the content-addressed store, hash-verified

135 Watch(ctx context.Context, project *types.Project, options WatchOptions) error
136 // Viz generates a graphviz graph of the project services
137 Viz(ctx context.Context, project *types.Project, options VizOptions) (string, error)
138 // Wait blocks until at least one of the services' container exits
139 Wait(ctx context.Context, projectName string, options WaitOptions) (int64, error)
140 // Scale manages numbers of container instances running per service

Callers 2

TestVizFunction · 0.65
runVizFunction · 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 1

TestVizFunction · 0.52