public abstract class AbstractVolumeSourceAssert<S extends AbstractVolumeSourceAssert<S,A>,A extends io.fabric8.kubernetes.api.model.VolumeSource>
extends org.assertj.core.api.AbstractAssert<S,A>
VolumeSource
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractVolumeSourceAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual VolumeSource. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual VolumeSource's additionalProperties is equal to the given one.
|
S |
hasEmptyDir(io.fabric8.kubernetes.api.model.EmptyDirVolumeSource emptyDir)
Verifies that the actual VolumeSource's emptyDir is equal to the given one.
|
S |
hasGitRepo(io.fabric8.kubernetes.api.model.GitRepoVolumeSource gitRepo)
Verifies that the actual VolumeSource's gitRepo is equal to the given one.
|
S |
hasGlusterfs(io.fabric8.kubernetes.api.model.GlusterfsVolumeSource glusterfs)
Verifies that the actual VolumeSource's glusterfs is equal to the given one.
|
S |
hasHostDir(io.fabric8.kubernetes.api.model.HostPathVolumeSource hostDir)
Verifies that the actual VolumeSource's hostDir is equal to the given one.
|
S |
hasIscsi(io.fabric8.kubernetes.api.model.ISCSIVolumeSource iscsi)
Verifies that the actual VolumeSource's iscsi is equal to the given one.
|
S |
hasNfs(io.fabric8.kubernetes.api.model.NFSVolumeSource nfs)
Verifies that the actual VolumeSource's nfs is equal to the given one.
|
S |
hasPersistentDisk(io.fabric8.kubernetes.api.model.GCEPersistentDiskVolumeSource persistentDisk)
Verifies that the actual VolumeSource's persistentDisk is equal to the given one.
|
S |
hasSecret(io.fabric8.kubernetes.api.model.SecretVolumeSource secret)
Verifies that the actual VolumeSource's secret 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 AbstractVolumeSourceAssert(A actual, Class<S> selfType)
AbstractVolumeSourceAssert
to make assertions on actual VolumeSource.actual
- the VolumeSource we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual VolumeSource's additionalProperties to.AssertionError
- - if the actual VolumeSource's additionalProperties is not equal to the given one.public S hasEmptyDir(io.fabric8.kubernetes.api.model.EmptyDirVolumeSource emptyDir)
emptyDir
- the given emptyDir to compare the actual VolumeSource's emptyDir to.AssertionError
- - if the actual VolumeSource's emptyDir is not equal to the given one.public S hasGitRepo(io.fabric8.kubernetes.api.model.GitRepoVolumeSource gitRepo)
gitRepo
- the given gitRepo to compare the actual VolumeSource's gitRepo to.AssertionError
- - if the actual VolumeSource's gitRepo is not equal to the given one.public S hasGlusterfs(io.fabric8.kubernetes.api.model.GlusterfsVolumeSource glusterfs)
glusterfs
- the given glusterfs to compare the actual VolumeSource's glusterfs to.AssertionError
- - if the actual VolumeSource's glusterfs is not equal to the given one.public S hasHostDir(io.fabric8.kubernetes.api.model.HostPathVolumeSource hostDir)
hostDir
- the given hostDir to compare the actual VolumeSource's hostDir to.AssertionError
- - if the actual VolumeSource's hostDir is not equal to the given one.public S hasIscsi(io.fabric8.kubernetes.api.model.ISCSIVolumeSource iscsi)
iscsi
- the given iscsi to compare the actual VolumeSource's iscsi to.AssertionError
- - if the actual VolumeSource's iscsi is not equal to the given one.public S hasNfs(io.fabric8.kubernetes.api.model.NFSVolumeSource nfs)
nfs
- the given nfs to compare the actual VolumeSource's nfs to.AssertionError
- - if the actual VolumeSource's nfs is not equal to the given one.public S hasPersistentDisk(io.fabric8.kubernetes.api.model.GCEPersistentDiskVolumeSource persistentDisk)
persistentDisk
- the given persistentDisk to compare the actual VolumeSource's persistentDisk to.AssertionError
- - if the actual VolumeSource's persistentDisk is not equal to the given one.public S hasSecret(io.fabric8.kubernetes.api.model.SecretVolumeSource secret)
secret
- the given secret to compare the actual VolumeSource's secret to.AssertionError
- - if the actual VolumeSource's secret is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.