Documentation ¶
Index ¶
- type FlowController
- func (c *FlowController) AddOFRules(nodeIP, nodeSubnetCIDR, localIP string) error
- func (c *FlowController) AddServiceOFRules(netID uint, IP string, protocol api.ServiceProtocol, port uint) error
- func (c *FlowController) DelOFRules(nodeIP, localIP string) error
- func (c *FlowController) DelServiceOFRules(netID uint, IP string, protocol api.ServiceProtocol, port uint) error
- func (c *FlowController) Setup(localSubnetCIDR, clusterNetworkCIDR, servicesNetworkCIDR string, mtu uint) error
- func (c *FlowController) UpdatePod(namespace, podName, containerID string, netID uint) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlowController ¶
type FlowController struct { }
func NewFlowController ¶
func NewFlowController() *FlowController
func (*FlowController) AddOFRules ¶
func (c *FlowController) AddOFRules(nodeIP, nodeSubnetCIDR, localIP string) error
func (*FlowController) AddServiceOFRules ¶
func (c *FlowController) AddServiceOFRules(netID uint, IP string, protocol api.ServiceProtocol, port uint) error
func (*FlowController) DelOFRules ¶
func (c *FlowController) DelOFRules(nodeIP, localIP string) error
func (*FlowController) DelServiceOFRules ¶
func (c *FlowController) DelServiceOFRules(netID uint, IP string, protocol api.ServiceProtocol, port uint) error
Click to show internal directories.
Click to hide internal directories.