mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
build full compose model from resources, then filter by services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
ce944520ff
commit
158b5ff6a3
8 changed files with 60 additions and 32 deletions
|
|
@ -59,7 +59,7 @@ type Service interface {
|
|||
// RunOneOffContainer creates a service oneoff container and starts its dependencies
|
||||
RunOneOffContainer(ctx context.Context, project *types.Project, opts RunOptions) (int, error)
|
||||
// Remove executes the equivalent to a `compose rm`
|
||||
Remove(ctx context.Context, project *types.Project, options RemoveOptions) error
|
||||
Remove(ctx context.Context, project string, options RemoveOptions) error
|
||||
// Exec executes a command in a running service container
|
||||
Exec(ctx context.Context, project string, opts RunOptions) (int, error)
|
||||
// Copy copies a file/folder between a service container and the local filesystem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue