package kubecaml

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

Non_resource_rule holds information that describes a rule for the non_resource

type t
val to_yojson : t -> Yojson.Safe.t
val make : verbs:string list -> ?non_resource_urls:string list -> unit -> t
val non_resource_urls : t -> string list option

Non_resource_urls is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.

val verbs : t -> string list

Verb is a list of kubernetes non_resource Api verbs, like: get, post, put, delete, patch, head, options. "*" means all.

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