public abstract class AbstractHorizontalPodAutoscalerSpecAssert<S extends AbstractHorizontalPodAutoscalerSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.HorizontalPodAutoscalerSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
HorizontalPodAutoscalerSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractHorizontalPodAutoscalerSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual HorizontalPodAutoscalerSpec. |
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
|
S |
hasMaxReplicas(Integer maxReplicas)
Verifies that the actual HorizontalPodAutoscalerSpec's maxReplicas is equal to the given one.
|
S |
hasMinReplicas(Integer minReplicas)
Verifies that the actual HorizontalPodAutoscalerSpec's minReplicas is equal to the given one.
|
NavigationListAssert<io.fabric8.kubernetes.api.model.MetricSpec,MetricSpecAssert> |
metrics()
Navigates to the property metrics so that assertions can be done on it
|
CrossVersionObjectReferenceAssert |
scaleTargetRef()
Navigates to the property scaleTargetRef 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 AbstractHorizontalPodAutoscalerSpecAssert(A actual, Class<S> selfType)
AbstractHorizontalPodAutoscalerSpecAssert
to make assertions on actual HorizontalPodAutoscalerSpec.actual
- the HorizontalPodAutoscalerSpec we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasMaxReplicas(Integer maxReplicas)
maxReplicas
- the given maxReplicas to compare the actual HorizontalPodAutoscalerSpec's maxReplicas to.AssertionError
- - if the actual HorizontalPodAutoscalerSpec's maxReplicas is not equal to the given one.public NavigationListAssert<io.fabric8.kubernetes.api.model.MetricSpec,MetricSpecAssert> metrics()
public S hasMinReplicas(Integer minReplicas)
minReplicas
- the given minReplicas to compare the actual HorizontalPodAutoscalerSpec's minReplicas to.AssertionError
- - if the actual HorizontalPodAutoscalerSpec's minReplicas is not equal to the given one.public CrossVersionObjectReferenceAssert scaleTargetRef()
Copyright © 2020. All rights reserved.