public abstract class AbstractPodSecurityContextAssert<S extends AbstractPodSecurityContextAssert<S,A>,A extends io.fabric8.kubernetes.api.model.PodSecurityContext>
extends org.assertj.core.api.AbstractAssert<S,A>
PodSecurityContext
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractPodSecurityContextAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual PodSecurityContext. |
Modifier and Type | Method and Description |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
S |
hasFsGroup(Long fsGroup)
Verifies that the actual PodSecurityContext's fsGroup is equal to the given one.
|
S |
hasRunAsUser(Long runAsUser)
Verifies that the actual PodSecurityContext's runAsUser is equal to the given one.
|
org.assertj.core.api.BooleanAssert |
runAsNonRoot()
Navigates to the property runAsNonRoot so that assertions can be done on it
|
SELinuxOptionsAssert |
seLinuxOptions()
Navigates to the property seLinuxOptions so that assertions can be done on it
|
NavigationListAssert<Long,org.assertj.core.api.LongAssert> |
supplementalGroups()
Navigates to the property supplementalGroups so that assertions can be done on it
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, 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, withFailMessage, withThreadDumpOnError
protected AbstractPodSecurityContextAssert(A actual, Class<S> selfType)
AbstractPodSecurityContextAssert
to make assertions on actual PodSecurityContext.actual
- the PodSecurityContext we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasFsGroup(Long fsGroup)
fsGroup
- the given fsGroup to compare the actual PodSecurityContext's fsGroup to.AssertionError
- - if the actual PodSecurityContext's fsGroup is not equal to the given one.public org.assertj.core.api.BooleanAssert runAsNonRoot()
public S hasRunAsUser(Long runAsUser)
runAsUser
- the given runAsUser to compare the actual PodSecurityContext's runAsUser to.AssertionError
- - if the actual PodSecurityContext's runAsUser is not equal to the given one.public SELinuxOptionsAssert seLinuxOptions()
public NavigationListAssert<Long,org.assertj.core.api.LongAssert> supplementalGroups()
Copyright © 2011–2017 Red Hat. All rights reserved.