ciliumenvoyconfig

package
v1.13.11 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Overview

Package service contains the logic for Cilium Load Balancer Controller via envoy config

Index

Constants

View Source
const Subsys = "envoy-lb-controller"

Variables

This section is empty.

Functions

func GetLBProtocolModelAnnotation

func GetLBProtocolModelAnnotation(obj metav1.Object) string

GetLBProtocolModelAnnotation returns the load balancer mode

func IsLBProtocolAnnotationEnabled

func IsLBProtocolAnnotationEnabled(obj metav1.Object) bool

IsLBProtocolAnnotationEnabled returns true if the load balancer protocol is enabled

Types

type Manager

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

func New

func New(client client.Clientset, indexer cache.Store, ports []string, algorithm string) (*Manager, error)

New returns a new Manager for CiliumEnvoyConfig

func (*Manager) MarkSynced

func (m *Manager) MarkSynced()

func (*Manager) OnAddService

func (m *Manager) OnAddService(service *slim_corev1.Service) error

func (*Manager) OnDeleteService

func (m *Manager) OnDeleteService(_ *slim_corev1.Service) error

func (*Manager) OnUpdateService

func (m *Manager) OnUpdateService(_, newObj *slim_corev1.Service) error

func (*Manager) Run

func (m *Manager) Run(ctx context.Context)

Run kicks off the controlled loop

Jump to

Keyboard shortcuts

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