package kubecaml

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

Resource_field_selector represents container resources (cpu, memory) and their output format

type t
val to_yojson : t -> Yojson.Safe.t
val make : resource:string -> ?divisor:Kubernetes.Definitions.Apimachinery.Pkg.Api.Resource.Quantity.t -> ?container_name:string -> unit -> t
val container_name : t -> string option

Container name: required for volumes, optional for env vars

Specifies the output format of the exposed resources, defaults to "1"

val resource : t -> string

Required: resource to select

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

Innovation. Community. Security.