package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Self_subject_rules_review 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. Self_subject_rules_review 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. Subject_access_review, and Local_access_review are the correct way to defer authorization decisions to the Api server.

type t
val to_yojson : t -> Yojson.Safe.t
val api_version : t -> string option

Api_version defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

val kind : t -> string option

Kind is a string value representing the Rest resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In Camel_case. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

Spec holds information about the request being evaluated.

Status is filled in by the server and indicates the set of actions a user can perform.

module Object : Object.S with type value := t