8000 client/pkg/jsonmessage: remove Stream interface · moby/moby@f3ba0b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit f3ba0b2

Browse files
committed
client/pkg/jsonmessage: remove Stream interface
It was an interface to match CLI-specific primitives and is no longer used. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 19edf5c commit f3ba0b2

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

client/pkg/jsonmessage/jsonmessage.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -277,14 +277,3 @@ func DisplayJSONMessagesStream(in io.Reader, out io.Writer, terminalFd uintptr,
277277
}
278278
return nil
279279
}
280-
281-
// Stream is an io.Writer for output with utilities to get the output's file
282-
// descriptor and to detect whether it's a terminal.
283-
//
284-
// it is subset of the streams.Out type in
285-
// https://pkg.go.dev/github.com/docker/cli@v20.10.17+incompatible/cli/streams#Out
286-
type Stream interface {
287-
io.Writer
288-
FD() uintptr
289-
IsTerminal() bool
290-
}

vendor/github.com/moby/moby/client/pkg/jsonmessage/jsonmessage.go

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0