Search in sources :

Example 1 with LogRequestor

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;
}
Also used : LogRequestor(io.fabric8.maven.docker.access.log.LogRequestor)

Example 2 with LogRequestor

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();
}
Also used : LogRequestor(io.fabric8.maven.docker.access.log.LogRequestor)

Aggregations

LogRequestor (io.fabric8.maven.docker.access.log.LogRequestor)2