package corosync

  1. Overview
  2. Docs
OCaml Corosync binding

Install

Dune Dependency

Authors

Maintainers

Sources

corosync-0.1.0.tbz
sha256=50dfd86c7142e6fcd1a9aac3f17733e4ce4036823d3447852afa753152a88821
sha512=d43d33f1073bea24dfe3443859673dceeb7c26bae8198d7fef0477dc9779e51ffb5771e1a2964c0ae9ff73625c48e3e74d6d221dbcc3c803e8481331e443c7a3

doc/corosync.tools/Corosync_tools/Cmapctl/index.html

Module Corosync_tools.CmapctlSource

get key will retrieve the value associated with the key in corosync cmap. User of this function should understand what the underlying type of each key is and supply that type into this function. The type information for cmap can be retrieved by doing a corosync-cmapctl call and examining the types.

set key value sets the cmap in memory database key to value

Sourceval get_prefix : string -> ((string * string) list, Corosync_lib.Corotypes.CsError.t) result

get_prefix prefix will return a list of (k,v) where k has a prefix of prefix. It is recommended to use the get function where possible since that function is more type safe.

OCaml

Innovation. Community. Security.