public abstract class AbstractPodSpecAssert<S extends AbstractPodSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.PodSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
PodSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractPodSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual PodSpec. |
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
|
AffinityAssert |
affinity()
Navigates to the property affinity so that assertions can be done on it
|
org.assertj.core.api.BooleanAssert |
automountServiceAccountToken()
Navigates to the property automountServiceAccountToken so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.Container,ContainerAssert> |
containers()
Navigates to the property containers so that assertions can be done on it
|
PodDNSConfigAssert |
dnsConfig()
Navigates to the property dnsConfig so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
dnsPolicy()
Navigates to the property dnsPolicy so that assertions can be done on it
|
org.assertj.core.api.BooleanAssert |
enableServiceLinks()
Navigates to the property enableServiceLinks so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.EphemeralContainer,EphemeralContainerAssert> |
ephemeralContainers()
Navigates to the property ephemeralContainers so that assertions can be done on it
|
S |
hasActiveDeadlineSeconds(Long activeDeadlineSeconds)
Verifies that the actual PodSpec's activeDeadlineSeconds is equal to the given one.
|
S |
hasPriority(Integer priority)
Verifies that the actual PodSpec's priority is equal to the given one.
|
S |
hasTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
Verifies that the actual PodSpec's terminationGracePeriodSeconds is equal to the given one.
|
NavigationListAssert<io.fabric8.kubernetes.api.model.HostAlias,HostAliasAssert> |
hostAliases()
Navigates to the property hostAliases so that assertions can be done on it
|
org.assertj.core.api.BooleanAssert |
hostIPC()
Navigates to the property hostIPC so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
hostname()
Navigates to the property hostname so that assertions can be done on it
|
org.assertj.core.api.BooleanAssert |
hostNetwork()
Navigates to the property hostNetwork so that assertions can be done on it
|
org.assertj.core.api.BooleanAssert |
hostPID()
Navigates to the property hostPID so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.LocalObjectReference,LocalObjectReferenceAssert> |
imagePullSecrets()
Navigates to the property imagePullSecrets so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.Container,ContainerAssert> |
initContainers()
Navigates to the property initContainers so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
nodeName()
Navigates to the property nodeName so that assertions can be done on it
|
org.assertj.core.api.MapAssert |
nodeSelector()
Navigates to the property nodeSelector so that assertions can be done on it
|
org.assertj.core.api.MapAssert |
overhead()
Navigates to the property overhead so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
preemptionPolicy()
Navigates to the property preemptionPolicy so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
priorityClassName()
Navigates to the property priorityClassName so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.PodReadinessGate,PodReadinessGateAssert> |
readinessGates()
Navigates to the property readinessGates so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
restartPolicy()
Navigates to the property restartPolicy so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
runtimeClassName()
Navigates to the property runtimeClassName so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
schedulerName()
Navigates to the property schedulerName so that assertions can be done on it
|
PodSecurityContextAssert |
securityContext()
Navigates to the property securityContext so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
serviceAccount()
Navigates to the property serviceAccount so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
serviceAccountName()
Navigates to the property serviceAccountName so that assertions can be done on it
|
org.assertj.core.api.BooleanAssert |
shareProcessNamespace()
Navigates to the property shareProcessNamespace so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
subdomain()
Navigates to the property subdomain so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.Toleration,TolerationAssert> |
tolerations()
Navigates to the property tolerations so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.TopologySpreadConstraint,TopologySpreadConstraintAssert> |
topologySpreadConstraints()
Navigates to the property topologySpreadConstraints so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.Volume,VolumeAssert> |
volumes()
Navigates to the property volumes 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 AbstractPodSpecAssert(A actual, Class<S> selfType)
AbstractPodSpecAssert
to make assertions on actual PodSpec.actual
- the PodSpec we want to make assertions on.public S hasActiveDeadlineSeconds(Long activeDeadlineSeconds)
activeDeadlineSeconds
- the given activeDeadlineSeconds to compare the actual PodSpec's activeDeadlineSeconds to.AssertionError
- - if the actual PodSpec's activeDeadlineSeconds is not equal to the given one.public org.assertj.core.api.MapAssert additionalProperties()
public AffinityAssert affinity()
public org.assertj.core.api.BooleanAssert automountServiceAccountToken()
public NavigationListAssert<io.fabric8.kubernetes.api.model.Container,ContainerAssert> containers()
public PodDNSConfigAssert dnsConfig()
public org.assertj.core.api.StringAssert dnsPolicy()
public org.assertj.core.api.BooleanAssert enableServiceLinks()
public NavigationListAssert<io.fabric8.kubernetes.api.model.EphemeralContainer,EphemeralContainerAssert> ephemeralContainers()
public NavigationListAssert<io.fabric8.kubernetes.api.model.HostAlias,HostAliasAssert> hostAliases()
public org.assertj.core.api.BooleanAssert hostIPC()
public org.assertj.core.api.BooleanAssert hostNetwork()
public org.assertj.core.api.BooleanAssert hostPID()
public org.assertj.core.api.StringAssert hostname()
public NavigationListAssert<io.fabric8.kubernetes.api.model.LocalObjectReference,LocalObjectReferenceAssert> imagePullSecrets()
public NavigationListAssert<io.fabric8.kubernetes.api.model.Container,ContainerAssert> initContainers()
public org.assertj.core.api.StringAssert nodeName()
public org.assertj.core.api.MapAssert nodeSelector()
public org.assertj.core.api.MapAssert overhead()
public org.assertj.core.api.StringAssert preemptionPolicy()
public S hasPriority(Integer priority)
priority
- the given priority to compare the actual PodSpec's priority to.AssertionError
- - if the actual PodSpec's priority is not equal to the given one.public org.assertj.core.api.StringAssert priorityClassName()
public NavigationListAssert<io.fabric8.kubernetes.api.model.PodReadinessGate,PodReadinessGateAssert> readinessGates()
public org.assertj.core.api.StringAssert restartPolicy()
public org.assertj.core.api.StringAssert runtimeClassName()
public org.assertj.core.api.StringAssert schedulerName()
public PodSecurityContextAssert securityContext()
public org.assertj.core.api.StringAssert serviceAccount()
public org.assertj.core.api.StringAssert serviceAccountName()
public org.assertj.core.api.BooleanAssert shareProcessNamespace()
public org.assertj.core.api.StringAssert subdomain()
public S hasTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
terminationGracePeriodSeconds
- the given terminationGracePeriodSeconds to compare the actual PodSpec's terminationGracePeriodSeconds to.AssertionError
- - if the actual PodSpec's terminationGracePeriodSeconds is not equal to the given one.public NavigationListAssert<io.fabric8.kubernetes.api.model.Toleration,TolerationAssert> tolerations()
public NavigationListAssert<io.fabric8.kubernetes.api.model.TopologySpreadConstraint,TopologySpreadConstraintAssert> topologySpreadConstraints()
public NavigationListAssert<io.fabric8.kubernetes.api.model.Volume,VolumeAssert> volumes()
Copyright © 2020. All rights reserved.