loadbalancers

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: 2 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 {
	Node *v1.Node
}

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

Jump to

Keyboard shortcuts

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