Skip to main content

isb_core/
lib.rs

1//! isb's foundation: the incus client, the sandbox spec and planner, compose
2//! projects, stacks, orgs, the local registry and ingress.
3//!
4//! This is an internal crate of [isb](https://docs.rs/isb), which re-exports
5//! every module here under its own name: depend on `isb`, not on this.
6
7pub mod balance;
8pub mod client;
9pub mod compose;
10pub mod cron;
11pub mod discovery;
12pub mod egress;
13pub mod error;
14pub mod exec;
15#[doc(hidden)]
16pub mod flex;
17pub mod foreground;
18pub mod idmap;
19pub mod ingress;
20pub mod interp;
21pub mod lock;
22pub mod machine;
23pub mod metrics;
24pub mod metrics_history;
25pub mod net;
26pub mod org;
27pub mod plan;
28pub mod registry;
29pub mod rpc;
30pub mod sandbox;
31pub mod secrets;
32pub mod self_update;
33pub mod serve_client;
34pub mod shorthand;
35pub mod spec;
36pub mod stack;
37pub mod supervise;
38pub mod volume;
39
40pub use client::{Client, Timeouts};
41pub use compose::{LoadOptions, Project};
42pub use error::{Error, Result};
43pub use exec::{ExecController, ExecEvent, ExecOptions, ExecOutput, ExecStream, Stdin};
44pub use flex::parse_duration;
45pub use plan::{Action, DiffOptions, SandboxPlan};
46pub use sandbox::{ApplyReport, EnsureOptions, LabelFilter, Sandbox, SandboxInfo};
47pub use spec::{
48    ComposeFile, ExecDefaults, IdmapMap, IdmapMode, IdmapRaw, IdmapSpec, InstanceType,
49    NamedVolumeSpec, PortBind, PortBinding, PortSpec, ReadyCheck, SandboxSpec, Volume, VolumeSpec,
50};