public abstract class AbstractDeploymentSpecAssert<S extends AbstractDeploymentSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.apps.DeploymentSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
DeploymentSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractDeploymentSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual DeploymentSpec. |
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 |
hasMinReadySeconds(Integer minReadySeconds)
Verifies that the actual DeploymentSpec's minReadySeconds is equal to the given one.
|
S |
hasProgressDeadlineSeconds(Integer progressDeadlineSeconds)
Verifies that the actual DeploymentSpec's progressDeadlineSeconds is equal to the given one.
|
S |
hasReplicas(Integer replicas)
Verifies that the actual DeploymentSpec's replicas is equal to the given one.
|
S |
hasRevisionHistoryLimit(Integer revisionHistoryLimit)
Verifies that the actual DeploymentSpec's revisionHistoryLimit is equal to the given one.
|
org.assertj.core.api.BooleanAssert |
paused()
Navigates to the property paused so that assertions can be done on it
|
LabelSelectorAssert |
selector()
Navigates to the property selector so that assertions can be done on it
|
DeploymentStrategyAssert |
strategy()
Navigates to the property strategy so that assertions can be done on it
|
PodTemplateSpecAssert |
template()
Navigates to the property template 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 AbstractDeploymentSpecAssert(A actual, Class<S> selfType)
AbstractDeploymentSpecAssert
to make assertions on actual DeploymentSpec.actual
- the DeploymentSpec we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasMinReadySeconds(Integer minReadySeconds)
minReadySeconds
- the given minReadySeconds to compare the actual DeploymentSpec's minReadySeconds to.AssertionError
- - if the actual DeploymentSpec's minReadySeconds is not equal to the given one.public org.assertj.core.api.BooleanAssert paused()
public S hasProgressDeadlineSeconds(Integer progressDeadlineSeconds)
progressDeadlineSeconds
- the given progressDeadlineSeconds to compare the actual DeploymentSpec's progressDeadlineSeconds to.AssertionError
- - if the actual DeploymentSpec's progressDeadlineSeconds is not equal to the given one.public S hasReplicas(Integer replicas)
replicas
- the given replicas to compare the actual DeploymentSpec's replicas to.AssertionError
- - if the actual DeploymentSpec's replicas is not equal to the given one.public S hasRevisionHistoryLimit(Integer revisionHistoryLimit)
revisionHistoryLimit
- the given revisionHistoryLimit to compare the actual DeploymentSpec's revisionHistoryLimit to.AssertionError
- - if the actual DeploymentSpec's revisionHistoryLimit is not equal to the given one.public LabelSelectorAssert selector()
public DeploymentStrategyAssert strategy()
public PodTemplateSpecAssert template()
Copyright © 2020. All rights reserved.