lb

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 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 BackendServer added in v0.2.0

type BackendServer interface {
	GetUID() types.UID
	GetNamespace() string
	GetName() string
	GetAddress() (string, bool)
}

type Manager

type Manager interface {
	EnsureLoadBalancer(lb *lbv1.LoadBalancer) error
	DeleteLoadBalancer(lb *lbv1.LoadBalancer) error
	GetBackendServers(lb *lbv1.LoadBalancer) ([]BackendServer, error)
	// AddBackendServers returns true if backend servers are really added the LB, otherwise returns false
	AddBackendServers(lb *lbv1.LoadBalancer, servers []BackendServer) (bool, error)
	// RemoveBackendServers returns true if backend servers are really removed from the LB, otherwise returns false
	RemoveBackendServers(lb *lbv1.LoadBalancer, servers []BackendServer) (bool, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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