Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HandlerP = regexp.MustCompile(`handle (\d+)$`)
)
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"` }
func (*BridgeCreateArguments) Validate ¶
func (br *BridgeCreateArguments) Validate() error
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"` }
func (*NetworkDnsMasqSettings) Validate ¶
func (n *NetworkDnsMasqSettings) Validate() error
type NetworkStaticSettings ¶
type NetworkStaticSettings struct {
CIDR string `json:"cidr"`
}
func (*NetworkStaticSettings) Validate ¶
func (n *NetworkStaticSettings) Validate() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.