Crate zone[][src]

APIs for interacting with the Solaris zone facility.

  • Entrypoint for zonecfg: Config.
  • Entrypoint for zonename: current.

Structs

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.

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.

ZoneError

Errors which can be returned from zone commands.

Functions

current

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