public class PodsAssert
extends org.assertj.core.api.ListAssert<io.fabric8.kubernetes.api.model.PodSchema>
Constructor and Description |
---|
PodsAssert(List<io.fabric8.kubernetes.api.model.PodSchema> actual) |
Modifier and Type | Method and Description |
---|---|
protected static PodsAssert |
assertThat(Iterable<io.fabric8.kubernetes.api.model.PodSchema> 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.PodSchema> condition) |
PodsAssert |
filterLabel(String key,
String value)
Filters the pods using the given label key and 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, usingElementComparator
are, 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, usingFieldByFieldElementComparator
as, 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, usingDefaultComparator
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
are, 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, startsWith
public PodsAssert(List<io.fabric8.kubernetes.api.model.PodSchema> actual)
public PodsAssert filter(org.assertj.core.api.Condition<io.fabric8.kubernetes.api.model.PodSchema> condition)
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.PodSchema> result)
Copyright © 2011–2014 Red Hat. All rights reserved.