loadbalancers

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package loadbalancers implements reconciler for cluster control-plane loadbalancer components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scope

type Scope interface {
	cloud.Cluster
	AddressSpec(name string) *compute.Address
	BackendServiceSpec(name string) *compute.BackendService
	ForwardingRuleSpec(name string) *compute.ForwardingRule
	HealthCheckSpec(name string) *compute.HealthCheck
	InstanceGroupSpec(zone string) *compute.InstanceGroup
	TargetTCPProxySpec() *compute.TargetTcpProxy
	SubnetSpecs() []*compute.Subnetwork
}

Scope is an interfaces that hold used methods.

type Service

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

Service implements loadbalancers reconciler.

func New

func New(scope Scope) *Service

New returns Service from given scope.

func (*Service) Delete

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

Delete deletes cluster control-plane loadbalancer components.

func (*Service) Reconcile

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

Reconcile reconcile cluster control-plane loadbalancer components.

Jump to

Keyboard shortcuts

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