Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Firewall ¶
type Firewall interface { String() string Compat() (bool, bool) NetworkSetupForwardingPolicy(networkName string, ipVersion uint, allow bool) error NetworkSetupOutboundNAT(networkName string, subnet *net.IPNet, srcIP net.IP, append bool) error NetworkSetupDHCPDNSAccess(networkName string, ipVersion uint) error NetworkSetupDHCPv4Checksum(networkName string) error NetworkClear(networkName string, ipVersion uint) error InstanceSetupBridgeFilter(projectName, instanceName, deviceName, parentName, hostName, hwAddr string, IPv4, IPv6 net.IP) error InstanceClearBridgeFilter(projectName, instanceName, deviceName, parentName, hostName, hwAddr string, IPv4, IPv6 net.IP) error InstanceSetupProxyNAT(projectName, instanceName, deviceName string, listen, connect *deviceConfig.ProxyAddress) error InstanceClearProxyNAT(projectName, instanceName, deviceName string) error }
Firewall represents an LXD firewall.
Click to show internal directories.
Click to hide internal directories.