public abstract class AbstractSecurityContextAssert<S extends AbstractSecurityContextAssert<S,A>,A extends io.fabric8.kubernetes.api.model.SecurityContext>
extends org.assertj.core.api.AbstractAssert<S,A>
SecurityContext
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractSecurityContextAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual SecurityContext. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual SecurityContext's additionalProperties is equal to the given one.
|
S |
hasCapabilities(io.fabric8.kubernetes.api.model.Capabilities capabilities)
Verifies that the actual SecurityContext's capabilities is equal to the given one.
|
S |
hasPrivileged(Boolean privileged)
Verifies that the actual SecurityContext's privileged is equal to the given one.
|
S |
hasRunAsNonRoot(Boolean runAsNonRoot)
Verifies that the actual SecurityContext's runAsNonRoot is equal to the given one.
|
S |
hasRunAsUser(Long runAsUser)
Verifies that the actual SecurityContext's runAsUser is equal to the given one.
|
S |
hasSeLinuxOptions(io.fabric8.kubernetes.api.model.SELinuxOptions seLinuxOptions)
Verifies that the actual SecurityContext's seLinuxOptions 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 AbstractSecurityContextAssert(A actual, Class<S> selfType)
AbstractSecurityContextAssert
to make assertions on actual SecurityContext.actual
- the SecurityContext we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual SecurityContext's additionalProperties to.AssertionError
- - if the actual SecurityContext's additionalProperties is not equal to the given one.public S hasCapabilities(io.fabric8.kubernetes.api.model.Capabilities capabilities)
capabilities
- the given capabilities to compare the actual SecurityContext's capabilities to.AssertionError
- - if the actual SecurityContext's capabilities is not equal to the given one.public S hasPrivileged(Boolean privileged)
privileged
- the given privileged to compare the actual SecurityContext's privileged to.AssertionError
- - if the actual SecurityContext's privileged is not equal to the given one.public S hasRunAsNonRoot(Boolean runAsNonRoot)
runAsNonRoot
- the given runAsNonRoot to compare the actual SecurityContext's runAsNonRoot to.AssertionError
- - if the actual SecurityContext's runAsNonRoot is not equal to the given one.public S hasRunAsUser(Long runAsUser)
runAsUser
- the given runAsUser to compare the actual SecurityContext's runAsUser to.AssertionError
- - if the actual SecurityContext's runAsUser is not equal to the given one.public S hasSeLinuxOptions(io.fabric8.kubernetes.api.model.SELinuxOptions seLinuxOptions)
seLinuxOptions
- the given seLinuxOptions to compare the actual SecurityContext's seLinuxOptions to.AssertionError
- - if the actual SecurityContext's seLinuxOptions is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.