loadbalancers

package
Version: v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 9 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 {
	Client loadbalancer.LoadBalancerClient
	Scope  scope.ScopeInterface
}

Service provides operations on load balancers.

func NewService

func NewService(scope scope.ScopeInterface) *Service

NewService creates a new load balancers service.

func (*Service) Delete

func (s *Service) Delete(ctx context.Context, spec interface{}) error

Delete deletes the load balancer with the provided name.

func (*Service) Get

func (s *Service) Get(ctx context.Context, spec interface{}) (interface{}, error)

Get provides information about a load balancer.

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context, spec interface{}) error

Reconcile gets/creates/updates a load balancer.

type Spec

type Spec struct {
	Name            string
	BackendPoolName string
	VnetName        string
	FrontendPort    int32
	BackendPort     int32
}

Spec input specification for Get/CreateOrUpdate/Delete calls

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL