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. |
Click to show internal directories.
Click to hide internal directories.