loadbalancer

package
v0.0.0-...-997eeb3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MPL-2.0 Imports: 19 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 net.IP, port int, clusterNamespace, clusterName string, nodes []provision.NodeInfo) (*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