public abstract class AbstractHorizontalPodAutoscalerStatusAssert<S extends AbstractHorizontalPodAutoscalerStatusAssert<S,A>,A extends io.fabric8.kubernetes.api.model.HorizontalPodAutoscalerStatus>
extends org.assertj.core.api.AbstractAssert<S,A>
HorizontalPodAutoscalerStatus
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractHorizontalPodAutoscalerStatusAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual HorizontalPodAutoscalerStatus. |
Modifier and Type | Method and Description |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.HorizontalPodAutoscalerCondition,HorizontalPodAutoscalerConditionAssert> |
conditions()
Navigates to the property conditions so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.MetricStatus,MetricStatusAssert> |
currentMetrics()
Navigates to the property currentMetrics so that assertions can be done on it
|
S |
hasCurrentReplicas(Integer currentReplicas)
Verifies that the actual HorizontalPodAutoscalerStatus's currentReplicas is equal to the given one.
|
S |
hasDesiredReplicas(Integer desiredReplicas)
Verifies that the actual HorizontalPodAutoscalerStatus's desiredReplicas is equal to the given one.
|
S |
hasObservedGeneration(Long observedGeneration)
Verifies that the actual HorizontalPodAutoscalerStatus's observedGeneration is equal to the given one.
|
org.assertj.core.api.StringAssert |
lastScaleTime()
Navigates to the property lastScaleTime so that assertions can be done on it
|
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnError
protected AbstractHorizontalPodAutoscalerStatusAssert(A actual, Class<S> selfType)
AbstractHorizontalPodAutoscalerStatusAssert
to make assertions on actual HorizontalPodAutoscalerStatus.actual
- the HorizontalPodAutoscalerStatus we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public NavigationListAssert<io.fabric8.kubernetes.api.model.HorizontalPodAutoscalerCondition,HorizontalPodAutoscalerConditionAssert> conditions()
public NavigationListAssert<io.fabric8.kubernetes.api.model.MetricStatus,MetricStatusAssert> currentMetrics()
public S hasCurrentReplicas(Integer currentReplicas)
currentReplicas
- the given currentReplicas to compare the actual HorizontalPodAutoscalerStatus's currentReplicas to.AssertionError
- - if the actual HorizontalPodAutoscalerStatus's currentReplicas is not equal to the given one.public S hasDesiredReplicas(Integer desiredReplicas)
desiredReplicas
- the given desiredReplicas to compare the actual HorizontalPodAutoscalerStatus's desiredReplicas to.AssertionError
- - if the actual HorizontalPodAutoscalerStatus's desiredReplicas is not equal to the given one.public org.assertj.core.api.StringAssert lastScaleTime()
public S hasObservedGeneration(Long observedGeneration)
observedGeneration
- the given observedGeneration to compare the actual HorizontalPodAutoscalerStatus's observedGeneration to.AssertionError
- - if the actual HorizontalPodAutoscalerStatus's observedGeneration is not equal to the given one.Copyright © 2020. All rights reserved.