c
com.coralogix.zio.k8s.model.authorization.v1
SubjectAccessReview
Companion object SubjectAccessReview
case class SubjectAccessReview(metadata: Optional[ObjectMeta] = Optional.Absent, spec: SubjectAccessReviewSpec, status: Optional[SubjectAccessReviewStatus] = Optional.Absent) extends Product with Serializable
SubjectAccessReview checks whether or not a user or group can perform an action.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SubjectAccessReview
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SubjectAccessReview(metadata: Optional[ObjectMeta] = Optional.Absent, spec: SubjectAccessReviewSpec, status: Optional[SubjectAccessReviewStatus] = Optional.Absent)
Value Members
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSpec: IO[K8sFailure, SubjectAccessReviewSpec]
Gets spec.
Gets spec.
This effect always succeeds, it is safe to use the field spec directly.
-
def
getStatus: IO[K8sFailure, SubjectAccessReviewStatus]
Gets status.
Gets status.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metadata: Optional[ObjectMeta]
- val spec: SubjectAccessReviewSpec
- val status: Optional[SubjectAccessReviewStatus]