mirror of
https://github.com/docker/compose.git
synced 2026-06-24 18:18:27 +00:00
13 lines
312 B
Go
13 lines
312 B
Go
package compose
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// Service manages a compose project
|
|
type Service interface {
|
|
// Up executes the equivalent to a `compose up`
|
|
Up(ctx context.Context, opts ProjectOptions) error
|
|
// Down executes the equivalent to a `compose down`
|
|
Down(ctx context.Context, opts ProjectOptions) error
|
|
}
|