Crates.io | libcrio |
lib.rs | libcrio |
version | 2.1.0 |
source | src |
created_at | 2022-01-16 16:25:48.907596 |
updated_at | 2024-03-06 21:51:59.18044 |
description | A wrapper around the crictl cli to return serde_json objects |
homepage | https://github.com/no9/libcrio |
repository | |
max_upload_size | |
id | 514944 |
size | 145,954 |
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.