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 |
hasArgs(String... args)
Verifies that the actual ContainerFluent's args contains the given String elements.
|
S |
hasCommand(String... command)
Verifies that the actual ContainerFluent's command contains the given String elements.
|
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.Probe livenessProbe)
Verifies that the actual ContainerFluent's livenessProbe is equal to the given one.
|
S |
hasName(String name)
Verifies that the actual ContainerFluent's name is equal to the given one.
|
S |
hasNoArgs()
Verifies that the actual ContainerFluent has no args.
|
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.ContainerPort... ports)
Verifies that the actual ContainerFluent's ports contains the given ContainerPort elements.
|
S |
hasReadinessProbe(io.fabric8.kubernetes.api.model.Probe readinessProbe)
Verifies that the actual ContainerFluent's readinessProbe is equal to the given one.
|
S |
hasResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
Verifies that the actual ContainerFluent's resources is equal to the given one.
|
S |
hasSecurityContext(io.fabric8.kubernetes.api.model.SecurityContext securityContext)
Verifies that the actual ContainerFluent's securityContext is equal to the given one.
|
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, usingDefaultComparator
protected 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 hasArgs(String... args)
args
- the given elements that should be contained in actual ContainerFluent's args.AssertionError
- if the actual ContainerFluent's args does not contain all given String elements.public S hasNoArgs()
AssertionError
- if the actual ContainerFluent's args is not empty.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 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.Probe 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 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.ContainerPort... 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 ContainerPort elements.public S hasNoPorts()
AssertionError
- if the actual ContainerFluent's ports is not empty.public S hasReadinessProbe(io.fabric8.kubernetes.api.model.Probe readinessProbe)
readinessProbe
- the given readinessProbe to compare the actual ContainerFluent's readinessProbe to.AssertionError
- - if the actual ContainerFluent's readinessProbe is not equal to the given one.public S hasResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
resources
- the given resources to compare the actual ContainerFluent's resources to.AssertionError
- - if the actual ContainerFluent's resources is not equal to the given one.public S hasSecurityContext(io.fabric8.kubernetes.api.model.SecurityContext securityContext)
securityContext
- the given securityContext to compare the actual ContainerFluent's securityContext to.AssertionError
- - if the actual ContainerFluent's securityContext is not equal to the given one.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.