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 make : ?target_selector:string -> ?selector:Object.Of_strings.t -> replicas:int -> unit -> t
val replicas : t -> int

actual number of observed instances of the scaled object.

val selector : t -> Object.Of_strings.t option

label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

val target_selector : t -> string option

label selector for pods that should match the replicas count. This is a serializated version of both map_based and more expressive set_based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query_param syntax. If the target type only supports map_based selectors, both this field and map_based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

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