iptables

package
v0.0.0-...-e1628ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	LocalGwName      string
	ClusterPodCIDR   string
	KubeProxyReplace bool
	SvcInternalIP    string
}

type OverlayIPtables

type OverlayIPtables interface {
	Update()
	AddRuleByCIDR(cidr string) error
	DelRuleByCIDR(cidr string) error
	InsertPodCIDRs(cidrs ...string)
	DelPodCIDRs(cidrs ...string)
}

func NewOverlayIPtables

func NewOverlayIPtables(enableEverouteProxy bool, opt *Options) OverlayIPtables

type RouteIPtables

type RouteIPtables struct {
	// contains filtered or unexported fields
}

func NewRouteIPtables

func NewRouteIPtables(enableEverouteProxy bool, opt *Options) *RouteIPtables

func (*RouteIPtables) Update

func (r *RouteIPtables) Update(nodeList corev1.NodeList, thisNode corev1.Node)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL