Method
Publish
(ctx context.Context, project *types.Project, repository string, options api.PublishOptions)
Source from the content-addressed store, hash-verified
| 46 | ) |
| 47 | |
| 48 | func (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 |
| 55 | func (s *composeService) publish(ctx context.Context, project *types.Project, repository string, options api.PublishOptions) error { |
Callers
nothing calls this directly
Tested by
no test coverage detected