loadbalancer

package
v0.0.0-...-d91ab75 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package loadbalancer provides dynamic loadbalancer for the controlplane of the CAPI cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlPlane

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

ControlPlane implements dynamic loadbalancer for the control plane.

func NewControlPlane

func NewControlPlane(client client.Client, address netip.Addr, port int, clusterNamespace, clusterName string, verboseLog bool) (*ControlPlane, error)

NewControlPlane initializes new control plane load balancer.

func (*ControlPlane) Close

func (cp *ControlPlane) Close() error

Close the load balancer.

func (*ControlPlane) GetEndpoint

func (cp *ControlPlane) GetEndpoint() string

GetEndpoint returns loadbalancer endpoint.

Jump to

Keyboard shortcuts

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