-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Less interfaces #3316
Closed
Closed
Less interfaces #3316
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
604917e
libct/README: rm Cgroupfs
kolyshkin 8b9fa19
libct/configs: rm Windows TODO
kolyshkin 923a8c9
libct: initContainer: rename Id -> ID
kolyshkin e1147d6
libct/config: rm type Capabilities type
kolyshkin d0ba8c6
libct: remove Factory interface and unused methods
kolyshkin 3148aef
libct: rename factory_linux* -> factory
kolyshkin 94f6098
libct: rm BaseContainer and Container interfaces
kolyshkin e4557c1
libct: remove some factory methods
kolyshkin 344ef42
libct: rm TestGetContainerStats, mockIntelRdtManager
kolyshkin 0e6bf47
libct: rm intelrtd.Manager interface, NewIntelRdtManager
kolyshkin 232bd46
libct: StartInitialization: decouple from factory
kolyshkin ac0f26b
libct/int: remove logger from init
kolyshkin 742be71
init.go: move logger setup to StartInitialization
kolyshkin 270cf70
Fix some revive warnings
kolyshkin 0d9a69a
libct/init: call Init from containerInit
kolyshkin b9b9fe1
libct: Container, Factory: rm InitPath, InitArgs
kolyshkin e4c0fef
libct: remove Validator interface
kolyshkin 0c6d53d
libct: Container, Factory: rm newuidmap/newgidmap
kolyshkin 13c6cae
libct: New: rm opts arguments
kolyshkin 5ce43c4
runc: remove --criu option
kolyshkin 3d5fd4a
utils: remove loadFactory
kolyshkin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this! I recall looking at this a couple of times (why the "Validator"??)
Perhaps as a follow-up, we should move
configs/validate
toconfigs
. It's a bit weird to have it in a separate package, as it's validating the config. Moving it into configs, if could just bevalidate(config)
(no need to export), orThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I gave it a try and got circular deps as a result. Will take a look later, but it seems this was the reason why it's in a separate package.
Oh, and we still have to export it because it's also used from libcontainer/specconv/spec_linux_test.go