Documentation ¶
Index ¶
Constants ¶
View Source
const ( NATTable = "nat" FilterTable = "filter" AcceptTarget = "ACCEPT" MasqueradeTarget = "MASQUERADE" MarkTarget = "MARK" ForwardChain = "FORWARD" PostRoutingChain = "POSTROUTING" AntreaForwardChain = "ANTREA-FORWARD" AntreaPostRoutingChain = "ANTREA-POSTROUTING" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client knows how to set up host iptables rules Antrea requires.
func (*Client) SetupRules ¶
SetupRules ensures the iptables rules Antrea requires are set up. It's idempotent and can be safely called on every startup.
Click to show internal directories.
Click to hide internal directories.