loadbalancer

package
v1.0.0-beta.43 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package loadbalancer implements the lifecycle of HCloud load balancers.

Index

Constants

This section is empty.

Variables

View Source
var ErrNoLoadBalancerAvailable = fmt.Errorf("no available load balancer")

ErrNoLoadBalancerAvailable indicates that no available load balancer could be fond.

Functions

This section is empty.

Types

type Service

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

Service is a struct with the cluster scope to reconcile load balancers.

func NewService

func NewService(scope *scope.ClusterScope) *Service

NewService creates a new service object.

func (*Service) Delete

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

Delete implements the deletion of HCloud load balancers.

func (*Service) Reconcile

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

Reconcile implements the life cycle of HCloud load balancers.

Jump to

Keyboard shortcuts

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