pkg/ioutils: remove or internalize deprecated types and functions#49245
Merged
thaJeztah merged 4 commits intomoby:masterfrom Jan 10, 2025
Merged
pkg/ioutils: remove or internalize deprecated types and functions#49245thaJeztah merged 4 commits intomoby:masterfrom
thaJeztah merged 4 commits intomoby:masterfrom
Conversation
These types are only used internally in container/streams and have no external consumers. move them to a subpackage of container/streams. Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
It's an alias for io.EOF and not exported, so we don't need it. Signed-off-by: Sebastiaan van Stijn <[email protected]>
f576aff to
cdd4a74
Compare
Member
Author
|
FWIW; two more things we can get rid of, and I'll do so in a follow-up;
Lines 8 to 13 in f54ac48
Lines 15 to 24 in f54ac48 moby/container/stream/streams.go Lines 86 to 89 in f54ac48 |
vvoland
approved these changes
Jan 10, 2025
This was referenced Jan 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pkg/ioutils: move BytesPipe to container/streams/bytespipe
These types are only used internally in container/streams and have no
external consumers. move them to a subpackage of container/streams.
pkg/ioutils: remove deprecated WriteCounter, NewWriteCounter
pkg/ioutils: remove deprecated NopFlusher
pkg/ioutils: remove errWriteFlusherClosed
It's an alias for io.EOF and not exported, so we don't need it.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)