egressservice

package
v0.0.0-...-61860a9 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPRulePriority = 5000 // the priority of the ip rules created by the controller. Egress IP priority is 6000.

	// chain for egress service NAT rules
	NFTablesChainName = "egress-services"

	// map for IPv4 SNAT mappings
	NFTablesMapV4 = "egress-service-snat-v4"

	// map for IPv6 SNAT mappings
	NFTablesMapV6 = "egress-service-snat-v6"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewController

func NewController(stopCh <-chan struct{}, returnMark, thisNode string,
	esInformer egressserviceinformer.EgressServiceInformer,
	serviceInformer cache.SharedIndexInformer,
	endpointSliceInformer cache.SharedIndexInformer) (*Controller, error)

func (*Controller) Run

func (c *Controller) Run(wg *sync.WaitGroup, threadiness int) error

Jump to

Keyboard shortcuts

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