-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Create DockerClient
interface
#3703
Conversation
Team, just remember that public-facing stuff under |
Thank you! We'll review next week. |
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.
I apologize for the delay. The PR looks very good overall! It was easy to review because it does one specific thing.
Could you take a look at the checkstyle failure -- AnotherDockerClient
needs a license header.
I would not worry about the LongConsumer
sonar code smells, since they are both in preexisting code. The private constructor one may be worth addressing.
Other than that, I only have one concern echoing what @chanseokoh said -- that DockerImageDetails
might be too specific to be part of the public API.
jib-core/src/main/java/com/google/cloud/tools/jib/api/DockerClient.java
Outdated
Show resolved
Hide resolved
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.
Could you rebase from master
branch? We've had some infrastructural changes in macos build.
Current `DockerClient` is moved to `CliDockerClient`. This new interface allows to add new implementations via `ServiceLoader`.
rebase it! |
jib-core/src/main/java/com/google/cloud/tools/jib/api/Containerizer.java
Outdated
Show resolved
Hide resolved
jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java
Show resolved
Hide resolved
jib-core/src/main/java/com/google/cloud/tools/jib/api/Containerizer.java
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! |
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.
Thank you!
Thank you for your contribution! |
Current
DockerClient
is moved toCliDockerClient
. This newinterface allows to add new implementations via
ServiceLoader
.This PR is addressing just the public DockerClient API from #3571