case class SubjectAccessReviewStatus(allowed: Boolean, denied: Optional[Boolean] = Optional.Absent, evaluationError: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent) extends Product with Serializable

SubjectAccessReviewStatus

allowed

Allowed is required. True if the action would be allowed, false otherwise.

denied

Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.

evaluationError

EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.

reason

Reason is optional. It indicates why a request was allowed or denied.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubjectAccessReviewStatus
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SubjectAccessReviewStatus(allowed: Boolean, denied: Optional[Boolean] = Optional.Absent, evaluationError: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent)

    allowed

    Allowed is required. True if the action would be allowed, false otherwise.

    denied

    Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.

    evaluationError

    EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.

    reason

    Reason is optional. It indicates why a request was allowed or denied.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val allowed: Boolean
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. val denied: Optional[Boolean]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val evaluationError: Optional[String]
  10. def getAllowed: IO[K8sFailure, Boolean]

    Allowed is required.

    Allowed is required. True if the action would be allowed, false otherwise.

    This effect always succeeds, it is safe to use the field allowed directly.

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getDenied: IO[K8sFailure, Boolean]

    Denied is optional.

    Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  13. def getEvaluationError: IO[K8sFailure, String]

    EvaluationError is an indication that some error occurred during the authorization check.

    EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  14. def getReason: IO[K8sFailure, String]

    Reason is optional.

    Reason is optional. It indicates why a request was allowed or denied.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. val reason: Optional[String]
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped