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

Method Publish

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

Publish executes the equivalent to a `compose publish`

(ctx context.Context, project *types.Project, repository string, options PublishOptions)

Source from the content-addressed store, hash-verified

129 Port(ctx context.Context, projectName string, service string, port uint16, options PortOptions) (string, int, error)
130 // Publish executes the equivalent to a `compose publish`
131 Publish(ctx context.Context, project *types.Project, repository string, options PublishOptions) error
132 // Images executes the equivalent of a `compose images`
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

Callers 1

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