egress

package
v0.9.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	EgressInformer     crdInformer.EgressInformer
	EgressLister       crdLister.EgressLister
	EgressListerSynced cache.InformerSynced
	LoxiClients        *api.LoxiClientPool

	ClientAliveCh chan *api.LoxiClient
	// contains filtered or unexported fields
}

func NewEgressManager

func NewEgressManager(
	kubeClient kubernetes.Interface,
	kubeExtClient apiextensionclientset.Interface,
	crdClient versioned.Interface,
	networkConfig *config.NetworkConfig,
	EgressInformer crdInformer.EgressInformer,
	LoxiClients *api.LoxiClientPool,
) *Manager

Create and Init Manager. Manager is called by kube-loxilb when k8s service is created & updated.

func (*Manager) Run

func (m *Manager) Run(stopCh <-chan struct{})

func (*Manager) Start

func (m *Manager) Start(informer egressCRDinformers.SharedInformerFactory, stopCh <-chan struct{})

func (*Manager) WaitForLoxiEgressCRDCreation

func (m *Manager) WaitForLoxiEgressCRDCreation(stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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