Skip to main content

Crate tino

Crate tino 

Source
Expand description

Library entry points for tino.

tino is primarily a command-line tool: a tiny init process (PID 1) for Docker, Kubernetes, and other container workloads. The library surface is intentionally small and mirrors the binary’s runtime behavior.

The main entry point is run, which executes a parsed Cli value. Linux-specific restrictions such as Landlock are configured through CLI flags and follow the same semantics as the tino binary.

§Example

use tino::{Cli, run};

let cli = Cli::parse_from(["tino", "--", "/usr/bin/sleep", "10"]);
let exit_code = run(cli)?;

This crate is binary-first. Internal helper APIs are not part of the stable public interface unless they are explicitly documented here.

Macros§

bail
error

Structs§

Cli
Parsed tino command-line configuration.
Error

Enums§

WritePreset
Parsed tino command-line configuration.

Constants§

LICENSE_TEXT
Bundled project license text.

Traits§

Context

Functions§

run
Execute tino with a parsed Cli configuration.

Type Aliases§

Result