public class BuildWatcher extends BaseWatcher
cmType, isType, namespaces, podTemplateToApiType, relister, trackedPodTemplates, watches| Constructor and Description |
|---|
BuildWatcher(String[] namespaces) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addEventToJenkinsJobRun(io.fabric8.openshift.api.model.Build build) |
void |
eventReceived(io.fabric8.kubernetes.client.Watcher.Action action,
io.fabric8.openshift.api.model.Build build) |
<T> void |
eventReceived(io.fabric8.kubernetes.client.Watcher.Action action,
T resource) |
static void |
flushBuildsWithNoBCList() |
int |
getListIntervalInSeconds() |
Runnable |
getStartTimerTask() |
static void |
onInitialBuilds(io.fabric8.openshift.api.model.BuildList buildList) |
void |
start() |
addWatch, hasSlaveLabelOrAnnotation, isReservedPodTemplateName, onClose, processSlavesForAddEvent, processSlavesForDeleteEvent, processSlavesForModifyEvent, stoppublic BuildWatcher(String[] namespaces)
public int getListIntervalInSeconds()
getListIntervalInSeconds in class BaseWatcherpublic Runnable getStartTimerTask()
getStartTimerTask in class BaseWatcherpublic void start()
start in class BaseWatcherpublic void eventReceived(io.fabric8.kubernetes.client.Watcher.Action action,
io.fabric8.openshift.api.model.Build build)
public <T> void eventReceived(io.fabric8.kubernetes.client.Watcher.Action action,
T resource)
eventReceived in class BaseWatcherpublic static void onInitialBuilds(io.fabric8.openshift.api.model.BuildList buildList)
public static boolean addEventToJenkinsJobRun(io.fabric8.openshift.api.model.Build build)
throws IOException
IOExceptionpublic static void flushBuildsWithNoBCList()
Copyright © 2016–2019 Red Hat. All rights reserved.