public class PodsAssert extends HasMetadatasAssert<io.fabric8.kubernetes.api.model.Pod,PodsAssert>
Constructor and Description |
---|
PodsAssert(List<io.fabric8.kubernetes.api.model.Pod> actual,
io.fabric8.kubernetes.client.KubernetesClient client) |
Modifier and Type | Method and Description |
---|---|
protected PodsAssert |
createListAssert(List<io.fabric8.kubernetes.api.model.Pod> list) |
PodsAssert |
errorStatus()
Returns the filtered list of pods which have error status
|
PodLogsAssert |
logs()
Returns an assertion on the logs of the pods
|
PodLogsAssert |
logs(String containerName)
Returns an assertion on the logs of the pods for the given container name
|
PodsAssert |
runningStatus()
Returns the filtered list of pods which have running status
|
PodsAssert |
waitingStatus()
Returns the filtered list of pods which have waiting status
|
assertSize, assertThat, filter, filterLabel, filterName, filterNamespace, first, get, hasName, last
as, as, contains, describedAs, describedAs, doesNotContain, doesNotHave, doesNotHaveSameClassAs, has, has, hasSameClassAs, hasToString, is, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isOfAnyClassIn, isSameAs, isSorted, isSortedAccordingTo, overridingErrorMessage, usingComparator, usingComparisonStrategy, usingDefaultComparator, usingDefaultElementComparator, usingElementComparator, withFailMessage, withThreadDumpOnError
are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsExactly, containsExactlyElementsOf, containsExactlyInAnyOrder, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyOnce, containsSequence, containsSubsequence, doesNotContain, doesNotContainAnyElementsOf, doesNotContainNull, doesNotHaveDuplicates, doNotHave, endsWith, extracting, extracting, extracting, extracting, extractingResultOf, extractingResultOf, filteredOn, filteredOn, filteredOn, filteredOnNull, flatExtracting, flatExtracting, hasAtLeastOneElementOfType, hasOnlyElementsOfType, hasSameElementsAs, hasSameSizeAs, hasSameSizeAs, hasSize, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, inBinary, inHexadecimal, isEmpty, isNotEmpty, isNullOrEmpty, isSubsetOf, isSubsetOf, startsWith, usingElementComparatorIgnoringFields, usingElementComparatorOnFields, usingFieldByFieldElementComparator
asList, asString, descriptionText, equals, failWithMessage, getWritableAssertionInfo, hashCode, isNull
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsExactly, containsExactlyElementsOf, containsExactlyInAnyOrder, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyOnce, containsSequence, containsSubsequence, doesNotContain, doesNotContainAnyElementsOf, doesNotContainNull, doesNotHaveDuplicates, doNotHave, endsWith, hasAtLeastOneElementOfType, hasOnlyElementsOfType, hasSameElementsAs, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, isSubsetOf, isSubsetOf, startsWith
public PodsAssert(List<io.fabric8.kubernetes.api.model.Pod> actual, io.fabric8.kubernetes.client.KubernetesClient client)
public PodLogsAssert logs()
public PodLogsAssert logs(String containerName)
public PodsAssert runningStatus()
public PodsAssert waitingStatus()
public PodsAssert errorStatus()
protected PodsAssert createListAssert(List<io.fabric8.kubernetes.api.model.Pod> list)
createListAssert
in class HasMetadatasAssert<io.fabric8.kubernetes.api.model.Pod,PodsAssert>
Copyright © 2011–2017 Red Hat. All rights reserved.