use of io.fabric8.maven.docker.access.log.LogRequestor in project docker-maven-plugin by fabric8io.
the class DockerAccessWithHcClient method getLogAsync.
@Override
public LogGetHandle getLogAsync(String containerId, LogCallback callback) {
LogRequestor extractor = new LogRequestor(delegate.createBasicClient(), urlBuilder, containerId, callback);
extractor.start();
return extractor;
}
use of io.fabric8.maven.docker.access.log.LogRequestor in project docker-maven-plugin by fabric8io.
the class DockerAccessWithHcClient method getLogSync.
@Override
public void getLogSync(String containerId, LogCallback callback) {
LogRequestor extractor = new LogRequestor(delegate.getHttpClient(), urlBuilder, containerId, callback);
extractor.fetchLogs();
}
Aggregations