package kubecaml

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

Object_metric_source indicates how to scale on a metric describing a kubernetes object (for example, hits_per_second on an Ingress object).

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

metric_name is the name of the metric in question.

target is the described Kubernetes object.

target_value is the target value of the metric (as a quantity).

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

Innovation. Community. Security.