loadbalancer

package
v0.0.0-...-9647dda Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsLB

type AwsLB struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewAwsLB

func NewAwsLB() (*AwsLB, error)

func (*AwsLB) Init

func (a *AwsLB) Init(vpc string, subnets []string) error

func (*AwsLB) UpdateService

func (a *AwsLB) UpdateService(s *v1.Service, nodeIPs []string) error

type LBProvider

type LBProvider interface {
	// set up the service to redirect traffic to targets
	UpdateService(*v1.Service, []string) error
}

type NSLoadBalancer

type NSLoadBalancer struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewNSLB

func NewNSLB(p LBProvider) (*NSLoadBalancer, error)

func (*NSLoadBalancer) Stop

func (n *NSLoadBalancer) Stop()

Jump to

Keyboard shortcuts

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