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) GetEndpoint ¶
func (cp *ControlPlane) GetEndpoint() string
GetEndpoint returns loadbalancer endpoint.
Click to show internal directories.
Click to hide internal directories.