package kubecaml

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

Role is a namespaced, logical grouping of Policy_rules that can be referenced as a unit by a Role_binding.

type t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val make : rules:Kubernetes.Definitions.Api.Rbac.V1beta1.Policy_rule.t list -> ?metadata:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Object_meta.t -> ?kind:string -> ?api_version:string -> unit -> 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

Standard object's metadata.

Rules holds all the Policy_rules for this Role

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

Innovation. Community. Security.