client: move container options together with their users

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-09-04 17:56:11 +02:00
parent 4d20b6fe56
commit 57ce548341
14 changed files with 112 additions and 124 deletions

View File

@@ -10,6 +10,18 @@ import (
"github.com/moby/moby/client/internal/timestamp"
)
// ContainerLogsOptions holds parameters to filter logs with.
type ContainerLogsOptions struct {
ShowStdout bool
ShowStderr bool
Since string
Until string
Timestamps bool
Follow bool
Tail string
Details bool
}
// ContainerLogs returns the logs generated by a container in an [io.ReadCloser].
// It's up to the caller to close the stream.
//