public class PodsAssert
extends org.assertj.core.api.ListAssert<io.fabric8.kubernetes.api.model.Pod>
| Constructor and Description |
|---|
PodsAssert(List<io.fabric8.kubernetes.api.model.Pod> actual) |
| Modifier and Type | Method and Description |
|---|---|
org.assertj.core.api.IntegerAssert |
assertSize()
Returns an assertion on the size of the list
|
protected static PodsAssert |
assertThat(Iterable<io.fabric8.kubernetes.api.model.Pod> result) |
PodsAssert |
errorStatus()
Returns the filtered list of pods which have error status
|
PodsAssert |
filter(org.assertj.core.api.Condition<io.fabric8.kubernetes.api.model.Pod> condition) |
PodsAssert |
filterLabel(String key,
String value)
Filters the pods using the given label key and value
|
List<io.fabric8.kubernetes.api.model.Pod> |
get()
Returns the underlying actual value
|
PodsAssert |
runningStatus()
Returns the filtered list of pods which have running status
|
PodsAssert |
waitingStatus()
Returns the filtered list of pods which have waiting status
|
contains, doesNotContain, has, is, isSorted, isSortedAccordingTo, usingComparisonStrategy, usingDefaultElementComparator, usingElementComparatorare, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsExactly, containsExactlyElementsOf, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyOnce, containsSequence, containsSubsequence, doesNotContain, doesNotContainAnyElementsOf, doesNotContainNull, doesNotHaveDuplicates, doNotHave, endsWith, extracting, extracting, extracting, extracting, extractingResultOf, extractingResultOf, flatExtracting, hasAtLeastOneElementOfType, hasOnlyElementsOfType, hasSameElementsAs, hasSameSizeAs, hasSameSizeAs, hasSize, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, inBinary, inHexadecimal, isEmpty, isNotEmpty, isNullOrEmpty, isSubsetOf, startsWith, usingElementComparatorIgnoringFields, usingElementComparatorOnFields, usingFieldByFieldElementComparatoras, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparatorclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitare, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsExactly, containsNull, containsOnly, containsOnlyOnce, containsSequence, containsSubsequence, doesNotContain, doesNotContainNull, doesNotHaveDuplicates, doNotHave, endsWith, hasAtLeastOneElementOfType, hasOnlyElementsOfType, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, startsWithpublic PodsAssert(List<io.fabric8.kubernetes.api.model.Pod> actual)
public PodsAssert filter(org.assertj.core.api.Condition<io.fabric8.kubernetes.api.model.Pod> condition)
public org.assertj.core.api.IntegerAssert assertSize()
public List<io.fabric8.kubernetes.api.model.Pod> get()
public PodsAssert filterLabel(String key, String value)
public PodsAssert runningStatus()
public PodsAssert waitingStatus()
public PodsAssert errorStatus()
protected static PodsAssert assertThat(Iterable<io.fabric8.kubernetes.api.model.Pod> result)
Copyright © 2011–2015 Red Hat. All rights reserved.