public abstract class AbstractPersistentVolumeSpecAssert<S extends AbstractPersistentVolumeSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.PersistentVolumeSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
PersistentVolumeSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractPersistentVolumeSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual PersistentVolumeSpec. |
Modifier and Type | Method and Description |
---|---|
S |
hasAccessModes(String... accessModes)
Verifies that the actual PersistentVolumeSpec's accessModes contains the given String elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual PersistentVolumeSpec's additionalProperties is equal to the given one.
|
S |
hasAwsElasticBlockStore(io.fabric8.kubernetes.api.model.AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
Verifies that the actual PersistentVolumeSpec's awsElasticBlockStore is equal to the given one.
|
S |
hasCapacity(Map capacity)
Verifies that the actual PersistentVolumeSpec's capacity is equal to the given one.
|
S |
hasClaimRef(io.fabric8.kubernetes.api.model.ObjectReference claimRef)
Verifies that the actual PersistentVolumeSpec's claimRef is equal to the given one.
|
S |
hasGcePersistentDisk(io.fabric8.kubernetes.api.model.GCEPersistentDiskVolumeSource gcePersistentDisk)
Verifies that the actual PersistentVolumeSpec's gcePersistentDisk is equal to the given one.
|
S |
hasGlusterfs(io.fabric8.kubernetes.api.model.GlusterfsVolumeSource glusterfs)
Verifies that the actual PersistentVolumeSpec's glusterfs is equal to the given one.
|
S |
hasHostPath(io.fabric8.kubernetes.api.model.HostPathVolumeSource hostPath)
Verifies that the actual PersistentVolumeSpec's hostPath is equal to the given one.
|
S |
hasIscsi(io.fabric8.kubernetes.api.model.ISCSIVolumeSource iscsi)
Verifies that the actual PersistentVolumeSpec's iscsi is equal to the given one.
|
S |
hasNfs(io.fabric8.kubernetes.api.model.NFSVolumeSource nfs)
Verifies that the actual PersistentVolumeSpec's nfs is equal to the given one.
|
S |
hasNoAccessModes()
Verifies that the actual PersistentVolumeSpec has no accessModes.
|
S |
hasPersistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy)
Verifies that the actual PersistentVolumeSpec's persistentVolumeReclaimPolicy is equal to the given one.
|
S |
hasRbd(io.fabric8.kubernetes.api.model.RBDVolumeSource rbd)
Verifies that the actual PersistentVolumeSpec's rbd 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 AbstractPersistentVolumeSpecAssert(A actual, Class<S> selfType)
AbstractPersistentVolumeSpecAssert
to make assertions on actual PersistentVolumeSpec.actual
- the PersistentVolumeSpec we want to make assertions on.public S hasAccessModes(String... accessModes)
accessModes
- the given elements that should be contained in actual PersistentVolumeSpec's accessModes.AssertionError
- if the actual PersistentVolumeSpec's accessModes does not contain all given String elements.public S hasNoAccessModes()
AssertionError
- if the actual PersistentVolumeSpec's accessModes is not empty.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual PersistentVolumeSpec's additionalProperties to.AssertionError
- - if the actual PersistentVolumeSpec's additionalProperties is not equal to the given one.public S hasAwsElasticBlockStore(io.fabric8.kubernetes.api.model.AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
awsElasticBlockStore
- the given awsElasticBlockStore to compare the actual PersistentVolumeSpec's awsElasticBlockStore to.AssertionError
- - if the actual PersistentVolumeSpec's awsElasticBlockStore is not equal to the given one.public S hasCapacity(Map capacity)
capacity
- the given capacity to compare the actual PersistentVolumeSpec's capacity to.AssertionError
- - if the actual PersistentVolumeSpec's capacity is not equal to the given one.public S hasClaimRef(io.fabric8.kubernetes.api.model.ObjectReference claimRef)
claimRef
- the given claimRef to compare the actual PersistentVolumeSpec's claimRef to.AssertionError
- - if the actual PersistentVolumeSpec's claimRef is not equal to the given one.public S hasGcePersistentDisk(io.fabric8.kubernetes.api.model.GCEPersistentDiskVolumeSource gcePersistentDisk)
gcePersistentDisk
- the given gcePersistentDisk to compare the actual PersistentVolumeSpec's gcePersistentDisk to.AssertionError
- - if the actual PersistentVolumeSpec's gcePersistentDisk 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 PersistentVolumeSpec's glusterfs to.AssertionError
- - if the actual PersistentVolumeSpec's glusterfs is not equal to the given one.public S hasHostPath(io.fabric8.kubernetes.api.model.HostPathVolumeSource hostPath)
hostPath
- the given hostPath to compare the actual PersistentVolumeSpec's hostPath to.AssertionError
- - if the actual PersistentVolumeSpec's hostPath 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 PersistentVolumeSpec's iscsi to.AssertionError
- - if the actual PersistentVolumeSpec'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 PersistentVolumeSpec's nfs to.AssertionError
- - if the actual PersistentVolumeSpec's nfs is not equal to the given one.public S hasPersistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy)
persistentVolumeReclaimPolicy
- the given persistentVolumeReclaimPolicy to compare the actual PersistentVolumeSpec's persistentVolumeReclaimPolicy to.AssertionError
- - if the actual PersistentVolumeSpec's persistentVolumeReclaimPolicy is not equal to the given one.public S hasRbd(io.fabric8.kubernetes.api.model.RBDVolumeSource rbd)
rbd
- the given rbd to compare the actual PersistentVolumeSpec's rbd to.AssertionError
- - if the actual PersistentVolumeSpec's rbd is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.