mirror of
https://github.com/docker/compose.git
synced 2026-08-31 14:52:42 +00:00
Introduce removeOrphans to cleanup injected AWS simulation container
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
db5467ce22
commit
855a879a6a
12 changed files with 63 additions and 32 deletions
|
|
@ -52,7 +52,7 @@ func (c *composeService) Up(context.Context, *types.Project, bool) error {
|
|||
return errdefs.ErrNotImplemented
|
||||
}
|
||||
|
||||
func (c *composeService) Down(context.Context, string) error {
|
||||
func (c *composeService) Down(context.Context, string, bool) error {
|
||||
return errdefs.ErrNotImplemented
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ type Service interface {
|
|||
// Up executes the equivalent to a `compose up`
|
||||
Up(ctx context.Context, project *types.Project, detach bool) error
|
||||
// Down executes the equivalent to a `compose down`
|
||||
Down(ctx context.Context, projectName string) error
|
||||
Down(ctx context.Context, projectName string, removeOrphans bool) error
|
||||
// Logs executes the equivalent to a `compose logs`
|
||||
Logs(ctx context.Context, projectName string, consumer LogConsumer, options LogOptions) error
|
||||
// Ps executes the equivalent to a `compose ps`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue