Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientFromMetadata ¶
NewClientFromMetadata initializes cloudops driver for azure based on environment variables or based on instance metadata info available inside Azure VM
func NewEnvClient ¶
NewEnvClient make new client from well known environment variables.
Types ¶
type Config ¶
type Config struct { InstanceID string ScaleSetName string SubscriptionID string ResourceGroupName string CloudEnvironment string ManagedClusterName string AgentPoolName string UserAgent string }
Config contains everything needed to create an Azure client. Only instanceID, subscriptionID and resourceGroupName are required, others are optional based on the required type of client.
Click to show internal directories.
Click to hide internal directories.