loadbalancers

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LB

type LB interface {
	// AddService add a service with the provided name and IP
	AddService(ctx context.Context, svcNamespace, svcName, ip string, nodes []Node) error
	// RemoveService remove service with the given IP
	RemoveService(ctx context.Context, svcNamespace, svcName, ip string) error
	// UpdateService ensure that the nodes handled by the service are correct
	UpdateService(ctx context.Context, svcNamespace, svcName string, nodes []Node) error
}

type Node

type Node struct {
	Name     string
	SourceIP string
	LocalASN int
	PeerASN  int
	Password string
	Peers    []Peer
}

type Peer

type Peer struct {
	Address string
	Port    int
}

Directories

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

Jump to

Keyboard shortcuts

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