-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Migrate the docker client code from dockertools to dockershim #45307
Migrate the docker client code from dockertools to dockershim #45307
Conversation
50e9662
to
3e03d7a
Compare
@k8s-bot unit test this |
k @k8s-bot unit test this |
Rebased. PTAL! |
@k8s-bot kubemark e2e test this |
1 similar comment
@k8s-bot kubemark e2e test this |
The code affected include DockerInterface (renamed to Interface), FakeDockerClient, etc.
Also remove the dockertools.DockerType constant.
@k8s-bot bazel test this |
@k8s-bot verify test this |
/approve I will leave @Random-Liu to review this pr in detail. Thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dchen1107, yujuhong
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
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.
Except changing dockertools
to libdocker
, did you only move things around?
Did you make any actual change? If not, the PR LGTM already. :)
) | ||
|
||
// TODO: The admission logic in this file is runtime-dependent. It should be | ||
// changed to be generic and CRI-compatible. | ||
|
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.
Extra empty line
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.
The comment was intended for the entire file, not just the struct below. Hence the extra line for separation.
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.
SGTM
No functional changes. I only made decisions about where the code should reside :-) |
Applying lgtm based on @Random-Liu's review. |
Automatic merge from submit-queue (batch tested with PRs 45453, 45307, 44987) |
Move docker client code from dockertools to dockershim/libdocker. This includes
DockerInterface (renamed to Interface), FakeDockerClient, etc.
This is part of #43234