azureclients

package
v0.0.0-...-a05eeac Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoadBalancerClient

func NewLoadBalancerClient(config *auth.AzureAuthConfig, env *azure.Environment) (loadbalancerclient.Interface, error)

NewLoadBalancerClient creates a new LoadBalancer client.

func NewPublicIPClient

func NewPublicIPClient(config *auth.AzureAuthConfig, env *azure.Environment) (publicipclient.Interface, error)

NewPublicIPClient creates a new PublicIP client.

Types

type AzureConfig

type AzureConfig struct {
	auth.AzureAuthConfig

	GlobalVIPLocation               string `json:"globalVIPLocation,omitempty" yaml:"globalVIPLocation,omitempty"`
	GlobalLoadBalancerName          string `json:"globalLoadBalancerName,omitempty" yaml:"globalLoadBalancerName,omitempty"`
	GlobalLoadBalancerResourceGroup string `json:"globalLoadBalancerResourceGroup,omitempty" yaml:"globalLoadBalancerResourceGroup,omitempty"`
}

AzureConfig defines the Azure config options.

func GetAzureConfigFromSecret

func GetAzureConfigFromSecret(kubeClient client.Client, namespace, name string) (*AzureConfig, *azure.Environment, error)

GetAzureConfigFromSecret fetches Azure cloud config from given secret.

Directories

Path Synopsis
Package armclient implements the client for ARM.
Package armclient implements the client for ARM.
Package auth provides a general library to authorize Azure ARM clients.
Package auth provides a general library to authorize Azure ARM clients.
Package loadbalancerclient implements the client for LoadBalancer.
Package loadbalancerclient implements the client for LoadBalancer.
Package publicipclient implements the client for PublicIPAddress.
Package publicipclient implements the client for PublicIPAddress.
Package retry defines a general library to handle errors and retries for various Azure clients.
Package retry defines a general library to handle errors and retries for various Azure clients.

Jump to

Keyboard shortcuts

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