| Package | Description |
|---|---|
| cz.xtf.core.bm | |
| cz.xtf.core.http | |
| cz.xtf.core.openshift | |
| cz.xtf.core.waiting |
| Modifier and Type | Method and Description |
|---|---|
Waiter |
BuildManager.hasBuildCompleted(ManagedBuild managedBuild) |
Waiter |
BinaryBuild.hasCompleted(OpenShift openShift) |
Waiter |
ManagedBuild.hasCompleted(OpenShift openShift) |
| Modifier and Type | Method and Description |
|---|---|
static Waiter |
Https.doesUrlResponseContain(String url,
String... strings) |
static Waiter |
Https.doesUrlResponseEqual(String url,
String string) |
static Waiter |
Https.doesUrlResponseMatch(String url,
Predicate<String>... predicates) |
static Waiter |
Https.doesUrlResponseStartWith(String url,
String string) |
static Waiter |
Https.doesUrlReturnCode(String url,
int expectedCode) |
static Waiter |
Https.doesUrlReturnCode(String url,
int expectedCode,
int failCode) |
static Waiter |
Https.doesUrlReturnOK(String url) |
| Modifier and Type | Method and Description |
|---|---|
Waiter |
OpenShiftWaiters.areExactlyNPodsReady(int n)
Creates a waiter that checks that exactly n pods is ready in project.
|
Waiter |
OpenShiftWaiters.areExactlyNPodsReady(int n,
String dcName) |
Waiter |
OpenShiftWaiters.areExactlyNPodsReady(int n,
String key,
String value)
Creates a waiter that checks that exactly n pods is ready in project.
|
Waiter |
OpenShiftWaiters.areExactlyNPodsRunning(int n)
Creates a waiter that checks that exactly n pods is running in project.
|
Waiter |
OpenShiftWaiters.areExactlyNPodsRunning(int n,
String dcName) |
Waiter |
OpenShiftWaiters.areExactlyNPodsRunning(int n,
String key,
String value)
Creates a waiter that checks that exactly n pods is running in project.
|
Waiter |
OpenShiftWaiters.areNoPodsPresent(String dcName) |
Waiter |
OpenShiftWaiters.areNoPodsPresent(String key,
String value)
Creates a waiter that waits until there aren't any pods in project.
|
Waiter |
OpenShift.clean()
Deletes all* resources in namespace.
|
Waiter |
OpenShiftWaiters.hasBuildCompleted(io.fabric8.openshift.api.model.Build build)
Creates waiter for build completion with a build timeout which is preconfigured to be up to 10 minutes (but can
also be customized by setting
xtf.waiting.build.timeout), 5 seconds interval check and both logging
points. |
Waiter |
OpenShiftWaiters.hasBuildCompleted(String buildConfigName)
Creates waiter for latest build completion with a build timeout which is preconfigured to be up to 10 minutes
(but can also be customized by setting
xtf.waiting.build.timeout), 5 seconds interval check and both
logging points. |
Waiter |
OpenShiftWaiters.havePodsBeenRestarted(String dcName) |
Waiter |
OpenShiftWaiters.havePodsBeenRestarted(String key,
String value) |
Waiter |
OpenShiftWaiters.havePodsBeenRestartedAtLeastNTimes(int times,
String dcName) |
Waiter |
OpenShiftWaiters.havePodsBeenRestartedAtLeastNTimes(int times,
String key,
String value) |
Waiter |
OpenShiftWaiters.isDcReady(String dcName)
Creates a waiter object waiting till all pods created by deployment config with name
dcName are ready. |
Waiter |
OpenShiftWaiters.isDcReady(String dcName,
int restartTolerance)
Creates a waiter object that waits till all pods created by deployment config with name
dcName are ready. |
Waiter |
OpenShiftWaiters.isDeploymentReady(String dcName,
int version)
Creates a waiter object that waits till all pods created by deployment config with name
dcName are ready. |
Waiter |
OpenShiftWaiters.isDeploymentReady(String dcName,
int version,
int restartTolerance)
Creates a waiter object that waits till all pods created by deployment config with name
dcName are ready. |
Waiter |
OpenShiftWaiters.isLatestBuildPresent(String buildConfigName)
Creates waiter for latest build presence with default timeout,
5 seconds interval check and both logging points.
|
Waiter |
OpenShiftWaiters.isProjectClean()
Creates waiter for clean project with 20 seconds timeout.
|
Waiter |
OpenShiftWaiters.isProjectReady()
Create waiter for project to created with 20 seconds timeout.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleWaiter |
class |
SupplierWaiter<X> |
| Modifier and Type | Method and Description |
|---|---|
default Waiter |
Waiter.failFast(FailFastCheck failFast)
Sets waiters fail fast function that indicates (returns true) if there is an error state and waiting should not
proceed.
|
Waiter |
Waiter.interval(long millis)
Sets waiter conditions check interval.
|
Waiter |
Waiter.interval(TimeUnit timeUnit,
long t)
Sets waiter conditions check interval.
|
default Waiter |
Waiter.level(org.slf4j.event.Level level)
Set the level of severity for a log message.
|
Waiter |
Waiter.logPoint(Waiter.LogPoint logPoint)
Sets waiters logPoints.
|
default Waiter |
Waiter.onFailure(Runnable runnable)
Sets waiters failed awaiting execution.
|
default Waiter |
Waiter.onIteration(Runnable runnable)
Sets waiters execution for each iteration.
|
default Waiter |
Waiter.onSuccess(Runnable runnable)
Sets waiters successful awaiting execution.
|
default Waiter |
Waiter.onTimeout(Runnable runnable)
Sets waiters timed out awaiting execution.
|
Waiter |
Waiter.reason(String reason)
Sets waiting reason.
|
Waiter |
Waiter.timeout(long millis)
Sets waiter timeout after which waiters stops waiting.
|
Waiter |
Waiter.timeout(TimeUnit timeUnit,
long t)
Sets waiter timeout after which waiters stops waiting.
|
Copyright © 2022. All rights reserved.