public class BuildConfigWatcher extends BaseWatcher implements io.fabric8.kubernetes.client.Watcher<io.fabric8.openshift.api.model.BuildConfig>
BuildConfig objects in OpenShift and for WorkflowJobs we
ensure there is a suitable Jenkins Job object defined with the correct
configurationnamespaces, relister, watches| Constructor and Description |
|---|
BuildConfigWatcher(String[] namespaces) |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteCompleted(String bcID) |
static void |
deleteInProgress(String bcName) |
void |
eventReceived(io.fabric8.kubernetes.client.Watcher.Action action,
io.fabric8.openshift.api.model.BuildConfig buildConfig) |
Runnable |
getStartTimerTask() |
static boolean |
isDeleteInProgress(String bcID) |
void |
start() |
hasSlaveLabelOrAnnotation, onClose, stoppublic BuildConfigWatcher(String[] namespaces)
public static void deleteInProgress(String bcName)
public static boolean isDeleteInProgress(String bcID)
public static void deleteCompleted(String bcID)
public 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.BuildConfig buildConfig)
eventReceived in interface io.fabric8.kubernetes.client.Watcher<io.fabric8.openshift.api.model.BuildConfig>Copyright © 2016–2018 Red Hat. All rights reserved.