loadbalancer

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AnnotationKeyNetwork   = lb.GroupName + "/network"
	AnnotationKeyProject   = lb.GroupName + "/project"
	AnnotationKeyNamespace = lb.GroupName + "/namespace"
	AnnotationKeyCluster   = lb.GroupName + "/cluster"
)

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, management *config.Management) error

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) HealthCheckNotify added in v0.4.1

func (h *Handler) HealthCheckNotify(namespace, name string) error

lb manager health check notify that the health of some VMs changed

func (*Handler) OnChange

func (h *Handler) OnChange(_ string, lb *lbv1.LoadBalancer) (*lbv1.LoadBalancer, error)

func (*Handler) OnRemove

func (h *Handler) OnRemove(_ string, lb *lbv1.LoadBalancer) (*lbv1.LoadBalancer, error)

Jump to

Keyboard shortcuts

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