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