package kubecaml

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

Resource_quota_spec defines the desired hard limits to enforce for Quota.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?scopes:string list -> ?hard:Kubernetes.Definitions.Apimachinery.Pkg.Api.Resource.Quantity.Object.t -> unit -> t

Hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

val scopes : t -> string list option

A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.

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