Method
Pull
pkg/compose/pull.go:47–51
· pkg/compose/pull.go::composeService.Pull
(ctx context.Context, project *types.Project, options api.PullOptions)
Source from the content-addressed store, hash-verified
| 45 | ) |
| 46 | |
| 47 | func (s *composeService) Pull(ctx context.Context, project *types.Project, options api.PullOptions) error { |
| 48 | return Run(ctx, func(ctx context.Context) error { |
| 49 | return s.pull(ctx, project, options) |
| 50 | }, "pull", s.events) |
| 51 | } |
| 52 | |
| 53 | func (s *composeService) pull(ctx context.Context, project *types.Project, opts api.PullOptions) error { //nolint:gocyclo |
| 54 | images, err := s.getLocalImagesDigests(ctx, project) |
Callers
nothing calls this directly
Tested by
no test coverage detected