libcrio

Crates.iolibcrio
lib.rslibcrio
version2.1.0
sourcesrc
created_at2022-01-16 16:25:48.907596
updated_at2024-03-06 21:51:59.18044
descriptionA wrapper around the crictl cli to return serde_json objects
homepagehttps://github.com/no9/libcrio
repository
max_upload_size
id514944
size145,954
Anton Whalley (No9)

documentation

https://docs.rs/libcrio

README

libcrio

A library wrapping the crictl

libcrio crate libcrio documentation build status

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.

Documentation

Using libcrio

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.

Commit count: 0

cargo fmt