A library wrapping the crictl
With the libcrio
, developers can programatically access the output of the crictl
commandline without having to map directly to specific versions of crictl. Useful when you need to support multiple kubernetes flavours.
Used in IBM Core-Dump-Handler - A core management system for kubernetes.
libcrio
is available on crates.io.
The recommended way to use it is to add a line into your Cargo.toml such as:
[dependencies]
libcrio = "2.0.0"
Then use libcrio::Cli;
in your code wherever you want
to call the crictl client.