kubevip

package
v1.29.0 Latest Latest
Warning

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

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

Documentation

Overview

kubevip 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