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() |
assertThat
additionalProperties, apiVersion, kind, metadata, spec, status
as, 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, withThreadDumpOnError
public ServicePodsAssert(io.fabric8.kubernetes.client.KubernetesClient client, io.fabric8.kubernetes.api.model.Service actual)
public PodSelectionAssert pods()
pods
in interface HasPodSelectionAssert
public ServicePodsAssert hasEndpointOrReadyPod()
public ServicePodsAssert hasEndpointOrReadyPod(long notReadyTimeoutMS, long readyPeriodMS)
Copyright © 2011–2018 Red Hat. All rights reserved.