public abstract class AbstractPodSpecFluentImplAssert<S extends AbstractPodSpecFluentImplAssert<S,A>,A extends io.fabric8.kubernetes.api.model.PodSpecFluentImpl>
extends org.assertj.core.api.AbstractAssert<S,A>
PodSpecFluentImpl
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractPodSpecFluentImplAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual PodSpecFluentImpl. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveContainers(io.fabric8.kubernetes.api.model.Container... containers)
Verifies that the actual PodSpecFluentImpl's containers does not contain the given Container elements.
|
S |
doesNotHaveImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
Verifies that the actual PodSpecFluentImpl's imagePullSecrets does not contain the given LocalObjectReference elements.
|
S |
doesNotHaveVolumes(io.fabric8.kubernetes.api.model.Volume... volumes)
Verifies that the actual PodSpecFluentImpl's volumes does not contain the given Volume elements.
|
S |
hasActiveDeadlineSeconds(Long activeDeadlineSeconds)
Verifies that the actual PodSpecFluentImpl's activeDeadlineSeconds is equal to the given one.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual PodSpecFluentImpl's additionalProperties is equal to the given one.
|
S |
hasContainers(io.fabric8.kubernetes.api.model.Container... containers)
Verifies that the actual PodSpecFluentImpl's containers contains the given Container elements.
|
S |
hasDnsPolicy(String dnsPolicy)
Verifies that the actual PodSpecFluentImpl's dnsPolicy is equal to the given one.
|
S |
hasHost(String host)
Verifies that the actual PodSpecFluentImpl's host is equal to the given one.
|
S |
hasImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
Verifies that the actual PodSpecFluentImpl's imagePullSecrets contains the given LocalObjectReference elements.
|
S |
hasNoContainers()
Verifies that the actual PodSpecFluentImpl has no containers.
|
S |
hasNodeName(String nodeName)
Verifies that the actual PodSpecFluentImpl's nodeName is equal to the given one.
|
S |
hasNodeSelector(Map nodeSelector)
Verifies that the actual PodSpecFluentImpl's nodeSelector is equal to the given one.
|
S |
hasNoImagePullSecrets()
Verifies that the actual PodSpecFluentImpl has no imagePullSecrets.
|
S |
hasNoVolumes()
Verifies that the actual PodSpecFluentImpl has no volumes.
|
S |
hasOnlyContainers(io.fabric8.kubernetes.api.model.Container... containers)
Verifies that the actual PodSpecFluentImpl's containers contains only the given Container elements and nothing else in whatever order.
|
S |
hasOnlyImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
Verifies that the actual PodSpecFluentImpl's imagePullSecrets contains only the given LocalObjectReference elements and nothing else in whatever order.
|
S |
hasOnlyVolumes(io.fabric8.kubernetes.api.model.Volume... volumes)
Verifies that the actual PodSpecFluentImpl's volumes contains only the given Volume elements and nothing else in whatever order.
|
S |
hasRestartPolicy(String restartPolicy)
Verifies that the actual PodSpecFluentImpl's restartPolicy is equal to the given one.
|
S |
hasSecurityContext(io.fabric8.kubernetes.api.model.PodSecurityContext securityContext)
Verifies that the actual PodSpecFluentImpl's securityContext is equal to the given one.
|
S |
hasServiceAccount(String serviceAccount)
Verifies that the actual PodSpecFluentImpl's serviceAccount is equal to the given one.
|
S |
hasServiceAccountName(String serviceAccountName)
Verifies that the actual PodSpecFluentImpl's serviceAccountName is equal to the given one.
|
S |
hasTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
Verifies that the actual PodSpecFluentImpl's terminationGracePeriodSeconds is equal to the given one.
|
S |
hasVolumes(io.fabric8.kubernetes.api.model.Volume... volumes)
Verifies that the actual PodSpecFluentImpl's volumes contains the given Volume elements.
|
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 AbstractPodSpecFluentImplAssert(A actual, Class<S> selfType)
AbstractPodSpecFluentImplAssert
to make assertions on actual PodSpecFluentImpl.actual
- the PodSpecFluentImpl we want to make assertions on.public S hasActiveDeadlineSeconds(Long activeDeadlineSeconds)
activeDeadlineSeconds
- the given activeDeadlineSeconds to compare the actual PodSpecFluentImpl's activeDeadlineSeconds to.AssertionError
- - if the actual PodSpecFluentImpl's activeDeadlineSeconds is not equal to the given one.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual PodSpecFluentImpl's additionalProperties to.AssertionError
- - if the actual PodSpecFluentImpl's additionalProperties is not equal to the given one.public S hasContainers(io.fabric8.kubernetes.api.model.Container... containers)
containers
- the given elements that should be contained in actual PodSpecFluentImpl's containers.AssertionError
- if the actual PodSpecFluentImpl's containers does not contain all given Container elements.public S hasOnlyContainers(io.fabric8.kubernetes.api.model.Container... containers)
containers
- the given elements that should be contained in actual PodSpecFluentImpl's containers.AssertionError
- if the actual PodSpecFluentImpl's containers does not contain all given Container elements.public S doesNotHaveContainers(io.fabric8.kubernetes.api.model.Container... containers)
containers
- the given elements that should not be in actual PodSpecFluentImpl's containers.AssertionError
- if the actual PodSpecFluentImpl's containers contains any given Container elements.public S hasNoContainers()
AssertionError
- if the actual PodSpecFluentImpl's containers is not empty.public S hasDnsPolicy(String dnsPolicy)
dnsPolicy
- the given dnsPolicy to compare the actual PodSpecFluentImpl's dnsPolicy to.AssertionError
- - if the actual PodSpecFluentImpl's dnsPolicy is not equal to the given one.public S hasHost(String host)
host
- the given host to compare the actual PodSpecFluentImpl's host to.AssertionError
- - if the actual PodSpecFluentImpl's host is not equal to the given one.public S hasImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
imagePullSecrets
- the given elements that should be contained in actual PodSpecFluentImpl's imagePullSecrets.AssertionError
- if the actual PodSpecFluentImpl's imagePullSecrets does not contain all given LocalObjectReference elements.public S hasOnlyImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
imagePullSecrets
- the given elements that should be contained in actual PodSpecFluentImpl's imagePullSecrets.AssertionError
- if the actual PodSpecFluentImpl's imagePullSecrets does not contain all given LocalObjectReference elements.public S doesNotHaveImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
imagePullSecrets
- the given elements that should not be in actual PodSpecFluentImpl's imagePullSecrets.AssertionError
- if the actual PodSpecFluentImpl's imagePullSecrets contains any given LocalObjectReference elements.public S hasNoImagePullSecrets()
AssertionError
- if the actual PodSpecFluentImpl's imagePullSecrets is not empty.public S hasNodeName(String nodeName)
nodeName
- the given nodeName to compare the actual PodSpecFluentImpl's nodeName to.AssertionError
- - if the actual PodSpecFluentImpl's nodeName is not equal to the given one.public S hasNodeSelector(Map nodeSelector)
nodeSelector
- the given nodeSelector to compare the actual PodSpecFluentImpl's nodeSelector to.AssertionError
- - if the actual PodSpecFluentImpl's nodeSelector is not equal to the given one.public S hasRestartPolicy(String restartPolicy)
restartPolicy
- the given restartPolicy to compare the actual PodSpecFluentImpl's restartPolicy to.AssertionError
- - if the actual PodSpecFluentImpl's restartPolicy is not equal to the given one.public S hasSecurityContext(io.fabric8.kubernetes.api.model.PodSecurityContext securityContext)
securityContext
- the given securityContext to compare the actual PodSpecFluentImpl's securityContext to.AssertionError
- - if the actual PodSpecFluentImpl's securityContext is not equal to the given one.public S hasServiceAccount(String serviceAccount)
serviceAccount
- the given serviceAccount to compare the actual PodSpecFluentImpl's serviceAccount to.AssertionError
- - if the actual PodSpecFluentImpl's serviceAccount is not equal to the given one.public S hasServiceAccountName(String serviceAccountName)
serviceAccountName
- the given serviceAccountName to compare the actual PodSpecFluentImpl's serviceAccountName to.AssertionError
- - if the actual PodSpecFluentImpl's serviceAccountName is not equal to the given one.public S hasTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
terminationGracePeriodSeconds
- the given terminationGracePeriodSeconds to compare the actual PodSpecFluentImpl's terminationGracePeriodSeconds to.AssertionError
- - if the actual PodSpecFluentImpl's terminationGracePeriodSeconds is not equal to the given one.public S hasVolumes(io.fabric8.kubernetes.api.model.Volume... volumes)
volumes
- the given elements that should be contained in actual PodSpecFluentImpl's volumes.AssertionError
- if the actual PodSpecFluentImpl's volumes does not contain all given Volume elements.public S hasOnlyVolumes(io.fabric8.kubernetes.api.model.Volume... volumes)
volumes
- the given elements that should be contained in actual PodSpecFluentImpl's volumes.AssertionError
- if the actual PodSpecFluentImpl's volumes does not contain all given Volume elements.public S doesNotHaveVolumes(io.fabric8.kubernetes.api.model.Volume... volumes)
volumes
- the given elements that should not be in actual PodSpecFluentImpl's volumes.AssertionError
- if the actual PodSpecFluentImpl's volumes contains any given Volume elements.public S hasNoVolumes()
AssertionError
- if the actual PodSpecFluentImpl's volumes is not empty.Copyright © 2011–2016 Red Hat. All rights reserved.