public abstract class AbstractDeploymentSpecAssert<S extends AbstractDeploymentSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.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 |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual DeploymentSpec's additionalProperties is equal to the given one.
|
S |
hasMinReadySeconds(Integer minReadySeconds)
Verifies that the actual DeploymentSpec's minReadySeconds is equal to the given one.
|
S |
hasPaused(Boolean paused)
Verifies that the actual DeploymentSpec's paused 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.
|
S |
hasRollbackTo(io.fabric8.kubernetes.api.model.extensions.RollbackConfig rollbackTo)
Verifies that the actual DeploymentSpec's rollbackTo is equal to the given one.
|
S |
hasSelector(io.fabric8.kubernetes.api.model.extensions.LabelSelector selector)
Verifies that the actual DeploymentSpec's selector is equal to the given one.
|
S |
hasStrategy(io.fabric8.kubernetes.api.model.extensions.DeploymentStrategy strategy)
Verifies that the actual DeploymentSpec's strategy is equal to the given one.
|
S |
hasTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
Verifies that the actual DeploymentSpec's template is equal to the given one.
|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
protected AbstractDeploymentSpecAssert(A actual, Class<S> selfType)
AbstractDeploymentSpecAssert
to make assertions on actual DeploymentSpec.actual
- the DeploymentSpec we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual DeploymentSpec's additionalProperties to.AssertionError
- - if the actual DeploymentSpec's additionalProperties is not equal to the given one.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 S hasPaused(Boolean paused)
paused
- the given paused to compare the actual DeploymentSpec's paused to.AssertionError
- - if the actual DeploymentSpec's paused 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 S hasRollbackTo(io.fabric8.kubernetes.api.model.extensions.RollbackConfig rollbackTo)
rollbackTo
- the given rollbackTo to compare the actual DeploymentSpec's rollbackTo to.AssertionError
- - if the actual DeploymentSpec's rollbackTo is not equal to the given one.public S hasSelector(io.fabric8.kubernetes.api.model.extensions.LabelSelector selector)
selector
- the given selector to compare the actual DeploymentSpec's selector to.AssertionError
- - if the actual DeploymentSpec's selector is not equal to the given one.public S hasStrategy(io.fabric8.kubernetes.api.model.extensions.DeploymentStrategy strategy)
strategy
- the given strategy to compare the actual DeploymentSpec's strategy to.AssertionError
- - if the actual DeploymentSpec's strategy is not equal to the given one.public S hasTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
template
- the given template to compare the actual DeploymentSpec's template to.AssertionError
- - if the actual DeploymentSpec's template is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.