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

Method Watch

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

Watch services' development context and sync/notify/rebuild/restart on changes

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

Source from the content-addressed store, hash-verified

133 Images(ctx context.Context, projectName string, options ImagesOptions) (map[string]ImageSummary, error)
134 // Watch services' development context and sync/notify/rebuild/restart on changes
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

Callers 1

runWatchFunction · 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