package v1
- Alphabetic
- Public
- All
Type Members
-
final
case class
LocalSubjectAccessReview(spec: SubjectAccessReviewSpec, status: Option[SubjectAccessReviewStatus] = None, 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.
-
final
case class
LocalSubjectAccessReviewPointer(currentPath: PointerPath = PointerPath()) extends Pointer[LocalSubjectAccessReview] with Product with Serializable
Pointer for LocalSubjectAccessReview
-
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
-
final
case class
NonResourceAttributesPointer(currentPath: PointerPath = PointerPath()) extends Pointer[NonResourceAttributes] with Product with Serializable
Pointer for NonResourceAttributes
-
final
case class
NonResourceRule(verbs: Seq[String], nonResourceURLs: Option[Seq[String]] = None) extends Product with Serializable
NonResourceRule holds information that describes a rule for the non-resource
-
final
case class
NonResourceRulePointer(currentPath: PointerPath = PointerPath()) extends Pointer[NonResourceRule] with Product with Serializable
Pointer for NonResourceRule
-
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
-
final
case class
ResourceAttributesPointer(currentPath: PointerPath = PointerPath()) extends Pointer[ResourceAttributes] with Product with Serializable
Pointer for ResourceAttributes
-
final
case class
ResourceRule(verbs: Seq[String], apiGroups: Option[Seq[String]] = None, resourceNames: Option[Seq[String]] = None, resources: Option[Seq[String]] = None) 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.
-
final
case class
ResourceRulePointer(currentPath: PointerPath = PointerPath()) extends Pointer[ResourceRule] with Product with Serializable
Pointer for ResourceRule
-
final
case class
SelfSubjectAccessReview(spec: SelfSubjectAccessReviewSpec, status: Option[SubjectAccessReviewStatus] = None, 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
-
final
case class
SelfSubjectAccessReviewPointer(currentPath: PointerPath = PointerPath()) extends Pointer[SelfSubjectAccessReview] with Product with Serializable
Pointer for SelfSubjectAccessReview
-
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
-
final
case class
SelfSubjectAccessReviewSpecPointer(currentPath: PointerPath = PointerPath()) extends Pointer[SelfSubjectAccessReviewSpec] with Product with Serializable
Pointer for SelfSubjectAccessReviewSpec
-
final
case class
SelfSubjectRulesReview(spec: SelfSubjectRulesReviewSpec, status: Option[SubjectRulesReviewStatus] = None, 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.
-
final
case class
SelfSubjectRulesReviewPointer(currentPath: PointerPath = PointerPath()) extends Pointer[SelfSubjectRulesReview] with Product with Serializable
Pointer for SelfSubjectRulesReview
-
final
case class
SelfSubjectRulesReviewSpec(namespace: Option[String] = None) extends Product with Serializable
SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.
-
final
case class
SelfSubjectRulesReviewSpecPointer(currentPath: PointerPath = PointerPath()) extends Pointer[SelfSubjectRulesReviewSpec] with Product with Serializable
Pointer for SelfSubjectRulesReviewSpec
-
final
case class
SubjectAccessReview(spec: SubjectAccessReviewSpec, status: Option[SubjectAccessReviewStatus] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
SubjectAccessReview checks whether or not a user or group can perform an action.
-
final
case class
SubjectAccessReviewPointer(currentPath: PointerPath = PointerPath()) extends Pointer[SubjectAccessReview] with Product with Serializable
Pointer for SubjectAccessReview
-
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
-
final
case class
SubjectAccessReviewSpecPointer(currentPath: PointerPath = PointerPath()) extends Pointer[SubjectAccessReviewSpec] with Product with Serializable
Pointer for SubjectAccessReviewSpec
-
final
case class
SubjectAccessReviewStatus(allowed: Boolean, denied: Option[Boolean] = None, evaluationError: Option[String] = None, reason: Option[String] = None) extends Product with Serializable
SubjectAccessReviewStatus
-
final
case class
SubjectAccessReviewStatusPointer(currentPath: PointerPath = PointerPath()) extends Pointer[SubjectAccessReviewStatus] with Product with Serializable
Pointer for SubjectAccessReviewStatus
-
final
case class
SubjectRulesReviewStatus(incomplete: Boolean, nonResourceRules: Seq[NonResourceRule], resourceRules: Seq[ResourceRule], evaluationError: Option[String] = None) 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.
-
final
case class
SubjectRulesReviewStatusPointer(currentPath: PointerPath = PointerPath()) extends Pointer[SubjectRulesReviewStatus] with Product with Serializable
Pointer for SubjectRulesReviewStatus
Value Members
- object LocalSubjectAccessReview extends Serializable
- object NonResourceAttributes extends Serializable
- object NonResourceRule extends Serializable
- object ResourceAttributes extends Serializable
- object ResourceRule extends Serializable
- object SelfSubjectAccessReview extends Serializable
- object SelfSubjectAccessReviewSpec extends Serializable
- object SelfSubjectRulesReview extends Serializable
- object SelfSubjectRulesReviewSpec extends Serializable
- object SubjectAccessReview extends Serializable
- object SubjectAccessReviewSpec extends Serializable
- object SubjectAccessReviewStatus extends Serializable
- object SubjectRulesReviewStatus extends Serializable