Crate zone

Source
Expand description

APIs for interacting with the Illumos zone facility.

  • Entrypoint for zonecfg: Config.
  • Entrypoint for zoneadm: Adm.
  • Entrypoint for zonename: [current].
  • Entrypoint for zlogin: Zlogin.

Structs§

Adm
Entry point for zoneadm commands.
Admin
Delegation of zone administration to a named user.
AdminScope
Generated scope for the Admin resource.
Attr
Represents the resource of a generic attribute.
AttrScope
Generated scope for the Attr resource.
CappedCpu
Resource indicating the amount of CPU time that can be used by a zone.
CappedCpuScope
Generated scope for the CappedCpu resource.
CappedMemory
Resource indicating the limit on the amount of memory that can be used by a zone.
CappedMemoryScope
Generated scope for the CappedMemory resource.
CommandOutputError
The error type for parsing a bad status code while reading stdout.
Config
Entry point for zonecfg commands.
Dataset
DatasetScope
Generated scope for the Dataset resource.
DedicatedCpu
Resource indicating a dedicated CPU for zone usage.
DedicatedCpuScope
Generated scope for the DedicatedCpu resource.
Device
DeviceScope
Generated scope for the Device resource.
Fs
Values for the resource “fs”.
FsScope
Generated scope for the Fs resource.
Global
GlobalScope
Generated scope for the Global resource.
Net
NetScope
Generated scope for the Net resource.
Rctl
RctlScope
Generated scope for the Rctl resource.
SecurityFlags
Resource indicating the security flags associated with a zone.
SecurityFlagsScope
Generated scope for the SecurityFlags resource.
Zlogin
Entry point for zlogin commands.
Zone

Enums§

AttributeValue
Describes both the type and value of an attribute.
Auths
Zone authorizations which may be granted to a user.
CreationOptions
Describes the options for creation a new zone.
IpType
Identifies the source of a zone’s IP stack.
SecurityFlag
Description of per-process security and exploit mitigation features.
State
Valid states for a zone.
ZoneError
Errors which can be returned from zone commands.

Functions§

current_blocking
Returns the name of the current zone, if one exists.
current_command