loadbalancer

package
v0.0.0-...-104cfad Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureLoadBalancerClient

type AzureLoadBalancerClient struct {
	Creds        config.Credentials
	SecretClient secrets.SecretClient
	Scheme       *runtime.Scheme
}

func NewAzureLoadBalancerClient

func NewAzureLoadBalancerClient(creds config.Credentials, secretclient secrets.SecretClient, scheme *runtime.Scheme) *AzureLoadBalancerClient

func (*AzureLoadBalancerClient) CreateLoadBalancer

func (c *AzureLoadBalancerClient) CreateLoadBalancer(ctx context.Context, location string, resourceGroupName string, resourceName string, publicIPAddressName string, backendAddressPoolName string, inboundNatPoolName string, frontendPortRangeStart int, frontendPortRangeEnd int, backendPort int) (future vnetwork.LoadBalancersCreateOrUpdateFuture, err error)

func (*AzureLoadBalancerClient) Delete

func (*AzureLoadBalancerClient) DeleteLoadBalancer

func (c *AzureLoadBalancerClient) DeleteLoadBalancer(ctx context.Context, loadBalancerName string, resourcegroup string) (status string, err error)

func (*AzureLoadBalancerClient) Ensure

func (*AzureLoadBalancerClient) GetLoadBalancer

func (c *AzureLoadBalancerClient) GetLoadBalancer(ctx context.Context, resourcegroup string, loadBalancerName string) (lb vnetwork.LoadBalancer, err error)

func (*AzureLoadBalancerClient) GetParents

func (*AzureLoadBalancerClient) GetStatus

type LoadBalancerManager

type LoadBalancerManager interface {
	CreateLoadBalancer(ctx context.Context,
		location string,
		resourceGroupName string,
		resourceName string,
		publicIPAddressName string,
		backEndPoolName string,
		inboundNatPoolName string,
		frontEndPortRangeStart int,
		frontEndPortRangeEnd int,
		backEndPort int) (network.LoadBalancer, error)

	DeleteLoadBalancer(ctx context.Context,
		resourceName string,
		resourceGroupName string) (string, error)

	GetLoadBalancer(ctx context.Context,
		resourceGroupName string,
		resourceName string) (network.LoadBalancer, error)

	// also embed async client methods
	resourcemanager.ARMClient
}

Jump to

Keyboard shortcuts

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