loadbalancers

package
v0.0.0-...-685acd0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service holds a collection of interfaces.

func NewService

func NewService(scope *scope.ClusterScope) *Service

NewService returns a new service given the Vpsie api client.

func (*Service) CreateLB

func (s *Service) CreateLB(ctx context.Context, lbSpec *v1alpha1.LoadBalancer) (*govpsie.LB, error)

func (*Service) Delete

func (s *Service) Delete(ctx context.Context) error

Delete delete cluster control-plane loadbalancer compoenents.

func (*Service) DeleteLoadBalancer

func (s *Service) DeleteLoadBalancer(ctx context.Context, id string) error

DeleteLoadBalancer delete a LB by ID.

func (*Service) GetLB

func (s *Service) GetLB(ctx context.Context, id string) (*govpsie.LB, error)

func (*Service) GetLBByName

func (s *Service) GetLBByName(ctx context.Context, name string) (*govpsie.LB, error)

func (*Service) IsLBPending

func (s *Service) IsLBPending(ctx context.Context, lbname string) (*govpsie.PendingLB, error)

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context) error

Reconcile reconcile cluster network components.

Jump to

Keyboard shortcuts

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