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 |
hasRunAsGroup(Long runAsGroup)
Verifies that the actual PodSecurityContext's runAsGroup 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
|
NavigationListAssert<io.fabric8.kubernetes.api.model.Sysctl,SysctlAssert> |
sysctls()
Navigates to the property sysctls so that assertions can be done on it
|
WindowsSecurityContextOptionsAssert |
windowsOptions()
Navigates to the property windowsOptions so that assertions can be done on it
|
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, 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 S hasRunAsGroup(Long runAsGroup)
runAsGroup
- the given runAsGroup to compare the actual PodSecurityContext's runAsGroup to.AssertionError
- - if the actual PodSecurityContext's runAsGroup 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()
public NavigationListAssert<io.fabric8.kubernetes.api.model.Sysctl,SysctlAssert> sysctls()
public WindowsSecurityContextOptionsAssert windowsOptions()
Copyright © 2020. All rights reserved.