egressservice

package
v0.0.0-...-12c5f08 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const EgressServiceServedPodsAddrSetName = "egresssvc-served-pods"

Variables

This section is empty.

Functions

func GetEgressServiceAddrSetDbIDs

func GetEgressServiceAddrSetDbIDs(controller string) *libovsdbops.DbObjectIDs

Types

type Controller

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

func NewController

func NewController(
	controllerName string,
	client kubernetes.Interface,
	nbClient libovsdbclient.Client,
	addressSetFactory addressset.AddressSetFactory,
	initClusterEgressPolicies InitClusterEgressPoliciesFunc,
	ensureNoRerouteNodePolicies EnsureNoRerouteNodePoliciesFunc,
	deleteLegacyDefaultNoRerouteNodePolicies DeleteLegacyDefaultNoRerouteNodePoliciesFunc,
	createDefaultRouteToExternalForIC CreateDefaultRouteToExternalFunc,
	stopCh <-chan struct{},
	esInformer egressserviceinformer.EgressServiceInformer,
	serviceInformer coreinformers.ServiceInformer,
	endpointSliceInformer discoveryinformers.EndpointSliceInformer,
	nodeInformer coreinformers.NodeInformer,
	zone string) (*Controller, error)

func (*Controller) Run

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

type CreateDefaultRouteToExternalFunc

type CreateDefaultRouteToExternalFunc func(nbClient libovsdbclient.Client, nodeName string) error

type DeleteLegacyDefaultNoRerouteNodePoliciesFunc

type DeleteLegacyDefaultNoRerouteNodePoliciesFunc func(libovsdbclient.Client, string) error

type EnsureNoRerouteNodePoliciesFunc

type EnsureNoRerouteNodePoliciesFunc func(client libovsdbclient.Client, addressSetFactory addressset.AddressSetFactory,
	controllerName string, nodeLister corelisters.NodeLister) error

type InitClusterEgressPoliciesFunc

type InitClusterEgressPoliciesFunc func(client libovsdbclient.Client, addressSetFactory addressset.AddressSetFactory,
	controllerName string) error

Jump to

Keyboard shortcuts

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