package kubecaml

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

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

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?version:string -> ?verb:string -> ?subresource:string -> ?resource:string -> ?namespace:string -> ?name:string -> ?group:string -> unit -> t
val group : t -> string option

Group is the Api Group of the Resource. "*" means all.

val name : t -> string option

Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.

val namespace : t -> string option

Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for Local_subject_access_reviews "" (empty) is empty for cluster_scoped resources "" (empty) means "all" for namespace scoped resources from a Subject_access_review or Self_subject_access_review

val resource : t -> string option

Resource is one of the existing resource types. "*" means all.

val subresource : t -> string option

Subresource is one of the existing resource types. "" means none.

val verb : t -> string option

Verb is a kubernetes resource Api verb, like: get, list, watch, create, update, delete, proxy. "*" means all.

val version : t -> string option

Version is the Api Version of the Resource. "*" means all.

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

Innovation. Community. Security.