public class ServicePodsAssert extends ServiceAssert implements HasPodSelectionAssert
| Constructor and Description |
|---|
ServicePodsAssert(io.fabric8.kubernetes.client.KubernetesClient client,
io.fabric8.kubernetes.api.model.Service actual) |
| Modifier and Type | Method and Description |
|---|---|
ServicePodsAssert |
hasEndpointOrReadyPod()
Asserts that either this service has a valid Endpoint or that a pod is Ready for a period of time
|
ServicePodsAssert |
hasEndpointOrReadyPod(long notReadyTimeoutMS,
long readyPeriodMS)
Asserts that either this service has a valid Endpoint or that a pod is Ready for a period of time
|
PodSelectionAssert |
pods() |
assertThatadditionalProperties, apiVersion, kind, metadata, spec, statusas, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator, withFailMessage, withThreadDumpOnErrorpublic ServicePodsAssert(io.fabric8.kubernetes.client.KubernetesClient client,
io.fabric8.kubernetes.api.model.Service actual)
public PodSelectionAssert pods()
pods in interface HasPodSelectionAssertpublic ServicePodsAssert hasEndpointOrReadyPod()
public ServicePodsAssert hasEndpointOrReadyPod(long notReadyTimeoutMS, long readyPeriodMS)
Copyright © 2011–2016 Red Hat. All rights reserved.