Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BridgeAddHost ¶ added in v1.0.0
type BridgeCreateArguments ¶
type BridgeCreateArguments struct { Name string `json:"name"` HwAddress string `json:"hwaddr"` Network BridgeNetwork `json:"network"` }
type BridgeDeleteArguments ¶
type BridgeDeleteArguments struct {
Name string `json:"name"`
}
type BridgeNetwork ¶
type BridgeNetwork struct { Mode BridgeNetworkMode `json:"mode"` Nat bool `json:"nat"` Settings json.RawMessage `json:"settings"` }
type BridgeNetworkMode ¶
type BridgeNetworkMode string
const ( NoneBridgeNetworkMode BridgeNetworkMode = "" DnsMasqBridgeNetworkMode BridgeNetworkMode = "dnsmasq" StaticBridgeNetworkMode BridgeNetworkMode = "static" )
type DiskFreeBlock ¶ added in v1.0.0
type DiskInfoResult ¶ added in v1.0.0
type NetworkDnsMasqSettings ¶
type NetworkDnsMasqSettings struct { NetworkStaticSettings Start net.IP `json:"start"` End net.IP `json:"end"` }
type NetworkStaticSettings ¶
type NetworkStaticSettings struct {
CIDR string `json:"cidr"`
}
Click to show internal directories.
Click to hide internal directories.