empty

package
v1.31.0 Latest Latest
Warning

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

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

Documentation

Overview

empty loadbalancer that does nothing, but exists to enable bgp functionality

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LB

type LB struct {
}

func NewLB

func NewLB(k8sclient kubernetes.Interface, config string) *LB

NewLB returns a new LB

func (*LB) AddService

func (l *LB) AddService(ctx context.Context, svcNamespace, svcName, ip string, nodes []loadbalancers.Node) error

AddService add a service

func (*LB) RemoveService

func (l *LB) RemoveService(ctx context.Context, svcNamespace, svcName, ip string) error

RemoveService remove a service

func (*LB) UpdateService

func (l *LB) UpdateService(ctx context.Context, svcNamespace, svcName string, nodes []loadbalancers.Node) error

UpdateService update a service

Jump to

Keyboard shortcuts

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