kubevip

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 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

func (*LB) AddService

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

func (*LB) RemoveService

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

func (*LB) UpdateService

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

Jump to

Keyboard shortcuts

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