com.bmuschko.gradle.docker.tasks.network.DockerInspectNetwork.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-docker-plugin Show documentation
Show all versions of gradle-docker-plugin Show documentation
Gradle plugin for managing Docker images and containers.
package com.bmuschko.gradle.docker.tasks.network
class DockerInspectNetwork extends DockerExistingNetwork {
@Override
void runRemoteCommand(final dockerClient) {
logger.quiet "Inspecting network '${networkId.get()}'."
final network = dockerClient.inspectNetworkCmd().withNetworkId(networkId.get()).exec()
if (nextHandler) {
nextHandler.execute(network)
}
}
}