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

Method Publish

pkg/compose/publish.go:48–52  ·  view source on GitHub ↗
(ctx context.Context, project *types.Project, repository string, options api.PublishOptions)

Source from the content-addressed store, hash-verified

46)
47
48func (s *composeService) Publish(ctx context.Context, project *types.Project, repository string, options api.PublishOptions) error {
49 return Run(ctx, func(ctx context.Context) error {
50 return s.publish(ctx, project, repository, options)
51 }, "publish", s.events)
52}
53
54//nolint:gocyclo
55func (s *composeService) publish(ctx context.Context, project *types.Project, repository string, options api.PublishOptions) error {

Callers

nothing calls this directly

Calls 2

publishMethod · 0.95
RunFunction · 0.85

Tested by

no test coverage detected