public abstract class AbstractContainerFluentAssert<S extends AbstractContainerFluentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ContainerFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
ContainerFluent specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractContainerFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ContainerFluent. |
| Modifier and Type | Method and Description |
|---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ContainerFluent's additionalProperties is equal to the given one.
|
S |
hasCommand(String... command)
Verifies that the actual ContainerFluent's command contains the given String elements.
|
S |
hasCpu(Integer cpu)
Verifies that the actual ContainerFluent's cpu is equal to the given one.
|
S |
hasEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual ContainerFluent's env contains the given EnvVar elements.
|
S |
hasImage(String image)
Verifies that the actual ContainerFluent's image is equal to the given one.
|
S |
hasImagePullPolicy(String imagePullPolicy)
Verifies that the actual ContainerFluent's imagePullPolicy is equal to the given one.
|
S |
hasLifecycle(io.fabric8.kubernetes.api.model.Lifecycle lifecycle)
Verifies that the actual ContainerFluent's lifecycle is equal to the given one.
|
S |
hasLivenessProbe(io.fabric8.kubernetes.api.model.LivenessProbe livenessProbe)
Verifies that the actual ContainerFluent's livenessProbe is equal to the given one.
|
S |
hasMemory(Integer memory)
Verifies that the actual ContainerFluent's memory is equal to the given one.
|
S |
hasName(String name)
Verifies that the actual ContainerFluent's name is equal to the given one.
|
S |
hasNoCommand()
Verifies that the actual ContainerFluent has no command.
|
S |
hasNoEnv()
Verifies that the actual ContainerFluent has no env.
|
S |
hasNoPorts()
Verifies that the actual ContainerFluent has no ports.
|
S |
hasNoVolumeMounts()
Verifies that the actual ContainerFluent has no volumeMounts.
|
S |
hasPorts(io.fabric8.kubernetes.api.model.Port... ports)
Verifies that the actual ContainerFluent's ports contains the given Port elements.
|
S |
hasTerminationMessagePath(String terminationMessagePath)
Verifies that the actual ContainerFluent's terminationMessagePath is equal to the given one.
|
S |
hasVolumeMounts(io.fabric8.kubernetes.api.model.VolumeMount... volumeMounts)
Verifies that the actual ContainerFluent's volumeMounts contains the given VolumeMount elements.
|
S |
hasWorkingDir(String workingDir)
Verifies that the actual ContainerFluent's workingDir 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, usingDefaultComparatorprotected AbstractContainerFluentAssert(A actual, Class<S> selfType)
AbstractContainerFluentAssert to make assertions on actual ContainerFluent.actual - the ContainerFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties - the given additionalProperties to compare the actual ContainerFluent's additionalProperties to.AssertionError - - if the actual ContainerFluent's additionalProperties is not equal to the given one.public S hasCommand(String... command)
command - the given elements that should be contained in actual ContainerFluent's command.AssertionError - if the actual ContainerFluent's command does not contain all given String elements.public S hasNoCommand()
AssertionError - if the actual ContainerFluent's command is not empty.public S hasCpu(Integer cpu)
cpu - the given cpu to compare the actual ContainerFluent's cpu to.AssertionError - - if the actual ContainerFluent's cpu is not equal to the given one.public S hasEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
env - the given elements that should be contained in actual ContainerFluent's env.AssertionError - if the actual ContainerFluent's env does not contain all given EnvVar elements.public S hasNoEnv()
AssertionError - if the actual ContainerFluent's env is not empty.public S hasImage(String image)
image - the given image to compare the actual ContainerFluent's image to.AssertionError - - if the actual ContainerFluent's image is not equal to the given one.public S hasImagePullPolicy(String imagePullPolicy)
imagePullPolicy - the given imagePullPolicy to compare the actual ContainerFluent's imagePullPolicy to.AssertionError - - if the actual ContainerFluent's imagePullPolicy is not equal to the given one.public S hasLifecycle(io.fabric8.kubernetes.api.model.Lifecycle lifecycle)
lifecycle - the given lifecycle to compare the actual ContainerFluent's lifecycle to.AssertionError - - if the actual ContainerFluent's lifecycle is not equal to the given one.public S hasLivenessProbe(io.fabric8.kubernetes.api.model.LivenessProbe livenessProbe)
livenessProbe - the given livenessProbe to compare the actual ContainerFluent's livenessProbe to.AssertionError - - if the actual ContainerFluent's livenessProbe is not equal to the given one.public S hasMemory(Integer memory)
memory - the given memory to compare the actual ContainerFluent's memory to.AssertionError - - if the actual ContainerFluent's memory is not equal to the given one.public S hasName(String name)
name - the given name to compare the actual ContainerFluent's name to.AssertionError - - if the actual ContainerFluent's name is not equal to the given one.public S hasPorts(io.fabric8.kubernetes.api.model.Port... ports)
ports - the given elements that should be contained in actual ContainerFluent's ports.AssertionError - if the actual ContainerFluent's ports does not contain all given Port elements.public S hasNoPorts()
AssertionError - if the actual ContainerFluent's ports is not empty.public S hasTerminationMessagePath(String terminationMessagePath)
terminationMessagePath - the given terminationMessagePath to compare the actual ContainerFluent's terminationMessagePath to.AssertionError - - if the actual ContainerFluent's terminationMessagePath is not equal to the given one.public S hasVolumeMounts(io.fabric8.kubernetes.api.model.VolumeMount... volumeMounts)
volumeMounts - the given elements that should be contained in actual ContainerFluent's volumeMounts.AssertionError - if the actual ContainerFluent's volumeMounts does not contain all given VolumeMount elements.public S hasNoVolumeMounts()
AssertionError - if the actual ContainerFluent's volumeMounts is not empty.public S hasWorkingDir(String workingDir)
workingDir - the given workingDir to compare the actual ContainerFluent's workingDir to.AssertionError - - if the actual ContainerFluent's workingDir is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.