public abstract class AbstractContainerFluentImplAssert<S extends AbstractContainerFluentImplAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ContainerFluentImpl>
extends org.assertj.core.api.AbstractAssert<S,A>
ContainerFluentImpl
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractContainerFluentImplAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ContainerFluentImpl. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveArgs(String... args)
Verifies that the actual ContainerFluentImpl's args does not contain the given String elements.
|
S |
doesNotHaveCommand(String... command)
Verifies that the actual ContainerFluentImpl's command does not contain the given String elements.
|
S |
doesNotHaveEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual ContainerFluentImpl's env does not contain the given EnvVar elements.
|
S |
doesNotHavePorts(io.fabric8.kubernetes.api.model.ContainerPort... ports)
Verifies that the actual ContainerFluentImpl's ports does not contain the given ContainerPort elements.
|
S |
doesNotHaveVolumeMounts(io.fabric8.kubernetes.api.model.VolumeMount... volumeMounts)
Verifies that the actual ContainerFluentImpl's volumeMounts does not contain the given VolumeMount elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ContainerFluentImpl's additionalProperties is equal to the given one.
|
S |
hasArgs(String... args)
Verifies that the actual ContainerFluentImpl's args contains the given String elements.
|
S |
hasCommand(String... command)
Verifies that the actual ContainerFluentImpl's command contains the given String elements.
|
S |
hasEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual ContainerFluentImpl's env contains the given EnvVar elements.
|
S |
hasImage(String image)
Verifies that the actual ContainerFluentImpl's image is equal to the given one.
|
S |
hasImagePullPolicy(String imagePullPolicy)
Verifies that the actual ContainerFluentImpl's imagePullPolicy is equal to the given one.
|
S |
hasLifecycle(io.fabric8.kubernetes.api.model.Lifecycle lifecycle)
Verifies that the actual ContainerFluentImpl's lifecycle is equal to the given one.
|
S |
hasLivenessProbe(io.fabric8.kubernetes.api.model.Probe livenessProbe)
Verifies that the actual ContainerFluentImpl's livenessProbe is equal to the given one.
|
S |
hasName(String name)
Verifies that the actual ContainerFluentImpl's name is equal to the given one.
|
S |
hasNoArgs()
Verifies that the actual ContainerFluentImpl has no args.
|
S |
hasNoCommand()
Verifies that the actual ContainerFluentImpl has no command.
|
S |
hasNoEnv()
Verifies that the actual ContainerFluentImpl has no env.
|
S |
hasNoPorts()
Verifies that the actual ContainerFluentImpl has no ports.
|
S |
hasNoVolumeMounts()
Verifies that the actual ContainerFluentImpl has no volumeMounts.
|
S |
hasOnlyArgs(String... args)
Verifies that the actual ContainerFluentImpl's args contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyCommand(String... command)
Verifies that the actual ContainerFluentImpl's command contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual ContainerFluentImpl's env contains only the given EnvVar elements and nothing else in whatever order.
|
S |
hasOnlyPorts(io.fabric8.kubernetes.api.model.ContainerPort... ports)
Verifies that the actual ContainerFluentImpl's ports contains only the given ContainerPort elements and nothing else in whatever order.
|
S |
hasOnlyVolumeMounts(io.fabric8.kubernetes.api.model.VolumeMount... volumeMounts)
Verifies that the actual ContainerFluentImpl's volumeMounts contains only the given VolumeMount elements and nothing else in whatever order.
|
S |
hasPorts(io.fabric8.kubernetes.api.model.ContainerPort... ports)
Verifies that the actual ContainerFluentImpl's ports contains the given ContainerPort elements.
|
S |
hasReadinessProbe(io.fabric8.kubernetes.api.model.Probe readinessProbe)
Verifies that the actual ContainerFluentImpl's readinessProbe is equal to the given one.
|
S |
hasResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
Verifies that the actual ContainerFluentImpl's resources is equal to the given one.
|
S |
hasSecurityContext(io.fabric8.kubernetes.api.model.SecurityContext securityContext)
Verifies that the actual ContainerFluentImpl's securityContext is equal to the given one.
|
S |
hasTerminationMessagePath(String terminationMessagePath)
Verifies that the actual ContainerFluentImpl's terminationMessagePath is equal to the given one.
|
S |
hasVolumeMounts(io.fabric8.kubernetes.api.model.VolumeMount... volumeMounts)
Verifies that the actual ContainerFluentImpl's volumeMounts contains the given VolumeMount elements.
|
S |
hasWorkingDir(String workingDir)
Verifies that the actual ContainerFluentImpl'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 AbstractContainerFluentImplAssert(A actual, Class<S> selfType)
AbstractContainerFluentImplAssert
to make assertions on actual ContainerFluentImpl.actual
- the ContainerFluentImpl we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ContainerFluentImpl's additionalProperties to.AssertionError
- - if the actual ContainerFluentImpl's additionalProperties is not equal to the given one.public S hasArgs(String... args)
args
- the given elements that should be contained in actual ContainerFluentImpl's args.AssertionError
- if the actual ContainerFluentImpl's args does not contain all given String elements.public S hasOnlyArgs(String... args)
args
- the given elements that should be contained in actual ContainerFluentImpl's args.AssertionError
- if the actual ContainerFluentImpl's args does not contain all given String elements.public S doesNotHaveArgs(String... args)
args
- the given elements that should not be in actual ContainerFluentImpl's args.AssertionError
- if the actual ContainerFluentImpl's args contains any given String elements.public S hasNoArgs()
AssertionError
- if the actual ContainerFluentImpl's args is not empty.public S hasCommand(String... command)
command
- the given elements that should be contained in actual ContainerFluentImpl's command.AssertionError
- if the actual ContainerFluentImpl's command does not contain all given String elements.public S hasOnlyCommand(String... command)
command
- the given elements that should be contained in actual ContainerFluentImpl's command.AssertionError
- if the actual ContainerFluentImpl's command does not contain all given String elements.public S doesNotHaveCommand(String... command)
command
- the given elements that should not be in actual ContainerFluentImpl's command.AssertionError
- if the actual ContainerFluentImpl's command contains any given String elements.public S hasNoCommand()
AssertionError
- if the actual ContainerFluentImpl'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 ContainerFluentImpl's env.AssertionError
- if the actual ContainerFluentImpl's env does not contain all given EnvVar elements.public S hasOnlyEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
env
- the given elements that should be contained in actual ContainerFluentImpl's env.AssertionError
- if the actual ContainerFluentImpl's env does not contain all given EnvVar elements.public S doesNotHaveEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
env
- the given elements that should not be in actual ContainerFluentImpl's env.AssertionError
- if the actual ContainerFluentImpl's env contains any given EnvVar elements.public S hasNoEnv()
AssertionError
- if the actual ContainerFluentImpl's env is not empty.public S hasImage(String image)
image
- the given image to compare the actual ContainerFluentImpl's image to.AssertionError
- - if the actual ContainerFluentImpl's image is not equal to the given one.public S hasImagePullPolicy(String imagePullPolicy)
imagePullPolicy
- the given imagePullPolicy to compare the actual ContainerFluentImpl's imagePullPolicy to.AssertionError
- - if the actual ContainerFluentImpl'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 ContainerFluentImpl's lifecycle to.AssertionError
- - if the actual ContainerFluentImpl'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 ContainerFluentImpl's livenessProbe to.AssertionError
- - if the actual ContainerFluentImpl's livenessProbe is not equal to the given one.public S hasName(String name)
name
- the given name to compare the actual ContainerFluentImpl's name to.AssertionError
- - if the actual ContainerFluentImpl'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 ContainerFluentImpl's ports.AssertionError
- if the actual ContainerFluentImpl's ports does not contain all given ContainerPort elements.public S hasOnlyPorts(io.fabric8.kubernetes.api.model.ContainerPort... ports)
ports
- the given elements that should be contained in actual ContainerFluentImpl's ports.AssertionError
- if the actual ContainerFluentImpl's ports does not contain all given ContainerPort elements.public S doesNotHavePorts(io.fabric8.kubernetes.api.model.ContainerPort... ports)
ports
- the given elements that should not be in actual ContainerFluentImpl's ports.AssertionError
- if the actual ContainerFluentImpl's ports contains any given ContainerPort elements.public S hasNoPorts()
AssertionError
- if the actual ContainerFluentImpl's ports is not empty.public S hasReadinessProbe(io.fabric8.kubernetes.api.model.Probe readinessProbe)
readinessProbe
- the given readinessProbe to compare the actual ContainerFluentImpl's readinessProbe to.AssertionError
- - if the actual ContainerFluentImpl'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 ContainerFluentImpl's resources to.AssertionError
- - if the actual ContainerFluentImpl'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 ContainerFluentImpl's securityContext to.AssertionError
- - if the actual ContainerFluentImpl's securityContext is not equal to the given one.public S hasTerminationMessagePath(String terminationMessagePath)
terminationMessagePath
- the given terminationMessagePath to compare the actual ContainerFluentImpl's terminationMessagePath to.AssertionError
- - if the actual ContainerFluentImpl'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 ContainerFluentImpl's volumeMounts.AssertionError
- if the actual ContainerFluentImpl's volumeMounts does not contain all given VolumeMount elements.public S hasOnlyVolumeMounts(io.fabric8.kubernetes.api.model.VolumeMount... volumeMounts)
volumeMounts
- the given elements that should be contained in actual ContainerFluentImpl's volumeMounts.AssertionError
- if the actual ContainerFluentImpl's volumeMounts does not contain all given VolumeMount elements.public S doesNotHaveVolumeMounts(io.fabric8.kubernetes.api.model.VolumeMount... volumeMounts)
volumeMounts
- the given elements that should not be in actual ContainerFluentImpl's volumeMounts.AssertionError
- if the actual ContainerFluentImpl's volumeMounts contains any given VolumeMount elements.public S hasNoVolumeMounts()
AssertionError
- if the actual ContainerFluentImpl's volumeMounts is not empty.public S hasWorkingDir(String workingDir)
workingDir
- the given workingDir to compare the actual ContainerFluentImpl's workingDir to.AssertionError
- - if the actual ContainerFluentImpl's workingDir is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.