MCPcopy
hub / github.com/docker/compose / Attach

Method Attach

pkg/api/api.go:117–117  ·  pkg/api/api.go::Compose.Attach

Attach STDIN,STDOUT,STDERR to a running service container

(ctx context.Context, projectName string, options AttachOptions)

Source from the content-addressed store, hash-verified

115 Exec(ctx context.Context, projectName string, options RunOptions) (int, error)
116 // Attach STDIN,STDOUT,STDERR to a running service container
117 Attach(ctx context.Context, projectName string, options AttachOptions) error
118 // Copy copies a file/folder between a service container and the local filesystem
119 Copy(ctx context.Context, projectName string, options CopyOptions) error
120 // Pause executes the equivalent to a `compose pause`

Callers 1

runAttachFunction · 0.65

Implementers 3

MockComposepkg/mocks/mock_docker_compose_api.go
MockComposeMockRecorderpkg/mocks/mock_docker_compose_api.go
composeServicepkg/compose/compose.go

Calls

no outgoing calls

Tested by

no test coverage detected