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