Search in sources :

Example 1 with LogDispatcher

use of org.eclipse.jkube.kit.build.service.docker.access.log.LogDispatcher in project jkube by eclipse.

the class AbstractDockerMojo method getLogDispatcher.

protected LogDispatcher getLogDispatcher(DockerServiceHub hub) {
    LogDispatcher dispatcher = (LogDispatcher) getPluginContext().get(CONTEXT_KEY_LOG_DISPATCHER);
    if (dispatcher == null) {
        dispatcher = new LogDispatcher(hub.getDockerAccess());
        getPluginContext().put(CONTEXT_KEY_LOG_DISPATCHER, dispatcher);
    }
    return dispatcher;
}
Also used : LogDispatcher(org.eclipse.jkube.kit.build.service.docker.access.log.LogDispatcher)

Aggregations

LogDispatcher (org.eclipse.jkube.kit.build.service.docker.access.log.LogDispatcher)1