Crate iocage_provision

Source

Structs§

IocageExecError
Error when an iocage exec command fails.

Enums§

CmdError
Error
Error type for this crate.
GatewayError
Error when determining a default gateway IP address.

Functions§

default_release
Returns a default release value based on the current host.
ensure_root
Ensures that the current effective user is root.
netstat_gateway_addr
Determines and returns a default gateway IP address by querying the netstat command.
provision_jail
Creates, starts, and sets up a new FreeBSD jail via the iocage program.

Type Aliases§

Result
A specialized Result type for this crate’s operations.