Method
Kill
pkg/compose/kill.go:29–33
· pkg/compose/kill.go::composeService.Kill
(ctx context.Context, projectName string, options api.KillOptions)
Source from the content-addressed store, hash-verified
| 27 | ) |
| 28 | |
| 29 | func (s *composeService) Kill(ctx context.Context, projectName string, options api.KillOptions) error { |
| 30 | return Run(ctx, func(ctx context.Context) error { |
| 31 | return s.kill(ctx, strings.ToLower(projectName), options) |
| 32 | }, "kill", s.events) |
| 33 | } |
| 34 | |
| 35 | func (s *composeService) kill(ctx context.Context, projectName string, options api.KillOptions) error { |
| 36 | services := options.Services |
Callers
nothing calls this directly
Tested by
no test coverage detected