package kubecaml

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

Scale_status represents the current status of a scale subresource.

type t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val make : ?selector:string -> replicas:int -> unit -> t
val replicas : t -> int

actual number of observed instances of the scaled object.

val selector : t -> string option

label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query_param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors

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

Innovation. Community. Security.