servicelb

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyLabel        = "loadbalancer.harvesterhci.io/servicelb"
	KeyServiceName  = "kubernetes.io/service-name"
	Address4AskDHCP = "0.0.0.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	*prober.Manager
	// contains filtered or unexported fields
}

func NewManager

func NewManager(ctx context.Context, serviceClient ctlCorev1.ServiceClient, serviceCache ctlCorev1.ServiceCache,
	endpointSliceClient ctlDiscoveryv1.EndpointSliceClient, endpointSliceCache ctlDiscoveryv1.EndpointSliceCache) *Manager

func (*Manager) DeleteLoadBalancer

func (m *Manager) DeleteLoadBalancer(lb *lbv1.LoadBalancer)

func (*Manager) EnsureLoadBalancer

func (m *Manager) EnsureLoadBalancer(lb *lbv1.LoadBalancer) error

Jump to

Keyboard shortcuts

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