package kubecaml

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

Cluster_role is a cluster level, logical grouping of Policy_rules that can be referenced as a unit by a Role_binding or Cluster_role_binding.

type t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or

Aggregation_rule is an optional field that describes how to build the Rules for this Cluster_role. If Aggregation_rule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.

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

Standard object's metadata.

Rules holds all the Policy_rules for this Cluster_role

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

Innovation. Community. Security.