package v1

Type Members

  1. final case class LocalSubjectAccessReview(status: Option[SubjectAccessReviewStatus] = None, spec: SubjectAccessReviewSpec, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable

    LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.

    LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.

  2. final case class NonResourceAttributes(path: Option[String] = None, verb: Option[String] = None) extends Product with Serializable

    NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface

  3. final case class NonResourceRule(nonResourceURLs: Option[Seq[String]] = None, verbs: Seq[String]) extends Product with Serializable

    NonResourceRule holds information that describes a rule for the non-resource

  4. final case class ResourceAttributes(name: Option[String] = None, version: Option[String] = None, resource: Option[String] = None, verb: Option[String] = None, group: Option[String] = None, subresource: Option[String] = None, namespace: Option[String] = None) extends Product with Serializable

    ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface

  5. final case class ResourceRule(apiGroups: Option[Seq[String]] = None, resourceNames: Option[Seq[String]] = None, resources: Option[Seq[String]] = None, verbs: Seq[String]) extends Product with Serializable

    ResourceRule is the list of actions the subject is allowed to perform on resources.

    ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.

  6. final case class SelfSubjectAccessReview(status: Option[SubjectAccessReviewStatus] = None, spec: SelfSubjectAccessReviewSpec, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable

    SelfSubjectAccessReview checks whether or the current user can perform an action.

    SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action

  7. final case class SelfSubjectAccessReviewSpec(nonResourceAttributes: Option[NonResourceAttributes] = None, resourceAttributes: Option[ResourceAttributes] = None) extends Product with Serializable

    SelfSubjectAccessReviewSpec is a description of the access request.

    SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

  8. final case class SelfSubjectRulesReview(status: Option[SubjectRulesReviewStatus] = None, spec: SelfSubjectRulesReviewSpec, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable

    SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.

    SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.

  9. final case class SelfSubjectRulesReviewSpec(namespace: Option[String] = None) extends Product with Serializable

    SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.

  10. final case class SubjectAccessReview(status: Option[SubjectAccessReviewStatus] = None, spec: SubjectAccessReviewSpec, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable

    SubjectAccessReview checks whether or not a user or group can perform an action.

  11. final case class SubjectAccessReviewSpec(groups: Option[Seq[String]] = None, resourceAttributes: Option[ResourceAttributes] = None, uid: Option[String] = None, extra: Option[Map[String, Seq[String]]] = None, user: Option[String] = None, nonResourceAttributes: Option[NonResourceAttributes] = None) extends Product with Serializable

    SubjectAccessReviewSpec is a description of the access request.

    SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

  12. final case class SubjectAccessReviewStatus(allowed: Boolean, denied: Option[Boolean] = None, evaluationError: Option[String] = None, reason: Option[String] = None) extends Product with Serializable

    SubjectAccessReviewStatus

  13. final case class SubjectRulesReviewStatus(evaluationError: Option[String] = None, incomplete: Boolean, nonResourceRules: Seq[NonResourceRule], resourceRules: Seq[ResourceRule]) extends Product with Serializable

    SubjectRulesReviewStatus contains the result of a rules check.

    SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.

Ungrouped