mirror of
https://github.com/docker/compose.git
synced 2026-02-09 01:59:22 +08:00
from Compose CLI, we know the streams used to configure LogConsumer
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
committed by
Guillaume Lours
parent
d70bb8cf5e
commit
fc2a7d13fa
@@ -140,9 +140,6 @@ type Compose interface {
|
||||
Generate(ctx context.Context, options GenerateOptions) (*types.Project, error)
|
||||
// Volumes executes the equivalent to a `docker volume ls`
|
||||
Volumes(ctx context.Context, project string, options VolumesOptions) ([]VolumesSummary, error)
|
||||
// GetConfiguredStreams returns the configured I/O streams (stdout, stderr, stdin).
|
||||
// If no custom streams were configured, it returns the dockerCli streams.
|
||||
GetConfiguredStreams() (stdout io.Writer, stderr io.Writer, stdin io.Reader)
|
||||
// LoadProject loads and validates a Compose project from configuration files.
|
||||
LoadProject(ctx context.Context, options ProjectLoadOptions) (*types.Project, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user