package ocluster-api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type worker_info = {
  1. name : string;
  2. active : bool;
}
val local : show:(unit -> string) -> workers:(unit -> worker_info list) -> worker: (string -> [ `Worker_e06eedcf95bf7905 ] Capnp_rpc_lwt.Capability.t option) -> set_active:(string -> bool -> (unit, [< `Unknown_worker ]) result) -> update: (string -> (Capnp__MessageSig.rw, [ `Update_b4b276698d845933 ]) Capnp_rpc_lwt.StructStorage.t Capnp_rpc_lwt.StructRef.t) -> set_rate:(client_id:string -> float -> (unit, [< `No_such_user ]) result) -> [ `PoolAdmin_d906b771b4082451 ] Capnp_rpc_lwt.Capability.t
val show : [ `PoolAdmin_d906b771b4082451 ] Capnp_rpc_lwt.Capability.t -> string Lwt.t
val workers : [ `PoolAdmin_d906b771b4082451 ] Capnp_rpc_lwt.Capability.t -> worker_info list Lwt.t
val worker : [ `PoolAdmin_d906b771b4082451 ] Capnp_rpc_lwt.Capability.t -> string -> [ `Worker_e06eedcf95bf7905 ] Capnp_rpc_lwt.Capability.t
val set_active : [ `PoolAdmin_d906b771b4082451 ] Capnp_rpc_lwt.Capability.t -> string -> bool -> unit Lwt.t
val update : [ `PoolAdmin_d906b771b4082451 ] Capnp_rpc_lwt.Capability.t -> string -> (unit, [> `Capnp of Capnp_rpc.Error.t ]) Lwt_result.t
val set_rate : [ `PoolAdmin_d906b771b4082451 ] Capnp_rpc_lwt.Capability.t -> client_id:string -> float -> unit Lwt.t
OCaml

Innovation. Community. Security.