Documentation ¶
Index ¶
Constants ¶
View Source
const ( NATType = "nat" NATNetworkType = "natnetwork" HostOnlyType = "hostonly" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostOnly ¶
type HostOnly struct {
// contains filtered or unexported fields
}
func (HostOnly) Description ¶
func (HostOnly) EnabledDescription ¶ added in v0.0.8
func (HostOnly) IsDHCPEnabled ¶
type NATNetwork ¶
type NATNetwork struct {
// contains filtered or unexported fields
}
func (NATNetwork) Description ¶
func (n NATNetwork) Description() string
func (NATNetwork) Enable ¶ added in v0.0.8
func (n NATNetwork) Enable() error
func (NATNetwork) EnabledDescription ¶ added in v0.0.8
func (n NATNetwork) EnabledDescription() string
func (NATNetwork) IPNet ¶
func (n NATNetwork) IPNet() *net.IPNet
func (NATNetwork) IsDHCPEnabled ¶
func (n NATNetwork) IsDHCPEnabled() bool
func (NATNetwork) IsEnabled ¶
func (n NATNetwork) IsEnabled() bool
func (NATNetwork) Name ¶
func (n NATNetwork) Name() string
type Networks ¶
type Networks struct {
// contains filtered or unexported fields
}
func (Networks) AddHostOnly ¶
func (Networks) AddNATNetwork ¶
func (Networks) NATNetworks ¶
Click to show internal directories.
Click to hide internal directories.