package ocluster-api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val (>>!=) : ('a, 'b) Lwt_result.t -> ('a -> ('c, 'b) Lwt_result.t) -> ('c, 'b) Lwt_result.t
type additional_metric = {
  1. content_type : string;
  2. data : string;
}
val local : ?additional_metric: (string -> ((string * string) option, [< `Msg of string ]) Stdlib.result Lwt.t) -> metrics: ([> `Agent | `Host ] -> (string * string, [< `Msg of string ]) Stdlib.result Lwt.t) -> self_update:(unit -> (unit, [< `Msg of string ]) Stdlib.result Lwt.t) -> unit -> [ `Worker_e06eedcf95bf7905 ] Capnp_rpc_lwt.Capability.t
type t = X.t Capnp_rpc_lwt.Capability.t
val metrics : [ `Worker_e06eedcf95bf7905 ] Capnp_rpc_lwt.Capability.t -> source:[< `Agent | `Host ] -> (string * string, [> `Capnp of Capnp_rpc.Error.t ]) Lwt_result.t
val additional_metrics : extra:string -> [ `Worker_e06eedcf95bf7905 ] Capnp_rpc_lwt.Capability.t -> (additional_metric option, [> `Capnp of Capnp_rpc.Error.t ]) Lwt_result.t
val self_update : [ `Worker_e06eedcf95bf7905 ] Capnp_rpc_lwt.Capability.t -> (unit, [> `Capnp of Capnp_rpc.Error.t ]) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.