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;
}
Aggregations