Documentation ¶
Index ¶
- Constants
- func ClearGlobalNetChains(ipt *iptables.IPTables)
- func CreateGlobalNetMarkingChain(ipt *iptables.IPTables) error
- func MarkRemoteClusterTraffic(ipt *iptables.IPTables, remoteCidr string, addRules bool)
- type Controller
- type GatewayMonitor
- type InformerConfigStruct
- type IpPool
- type Operation
- type SubmarinerIpamControllerSpecification
Constants ¶
View Source
const ( AddRules = true DeleteRules = false Process = "Process" Ignore = "Ignore" Requeue = "Requeue" )
Variables ¶
This section is empty.
Functions ¶
func ClearGlobalNetChains ¶ added in v0.4.0
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(spec *SubmarinerIpamControllerSpecification, config *InformerConfigStruct, globalCIDR string) (*Controller, error)
func (*Controller) Run ¶
func (i *Controller) Run(stopCh <-chan struct{}) error
type GatewayMonitor ¶
type GatewayMonitor struct {
// contains filtered or unexported fields
}
func NewGatewayMonitor ¶
func NewGatewayMonitor(spec *SubmarinerIpamControllerSpecification, cfg *rest.Config, stopCh <-chan struct{}) (*GatewayMonitor, error)
func (*GatewayMonitor) Run ¶
func (i *GatewayMonitor) Run(stopCh <-chan struct{}) error
type InformerConfigStruct ¶
type InformerConfigStruct struct { KubeClientSet kubernetes.Interface ServiceInformer kubeInformers.ServiceInformer PodInformer kubeInformers.PodInformer NodeInformer kubeInformers.NodeInformer }
Click to show internal directories.
Click to hide internal directories.