package kubecaml

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

An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no_op). A null preferred scheduling term matches no objects (i.e. is also a no_op).

type t
val to_yojson : t -> Yojson.Safe.t
val make : weight:int -> preference:Kubernetes.Definitions.Api.Core.V1.Node_selector_term.t -> unit -> t

A node selector term, associated with the corresponding weight.

val weight : t -> int

Weight associated with matching the corresponding node_selector_term, in the range 1_100.

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

Innovation. Community. Security.