Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUserAgentExtension ¶
func GetUserAgentExtension() string
func NewTokenWrapper ¶ added in v0.5.1
func NewTokenWrapper(cred azcore.TokenCredential) azcore.TokenCredential
Types ¶
type ClientConfig ¶
type ClientConfig struct { CloudName string Location string SubscriptionID string ResourceManagerEndpoint string Authorizer autorest.Authorizer UserAgent string }
ClientConfig contains all essential information to create an Azure client.
type Config ¶
type Config struct { Cloud string `json:"cloud" yaml:"cloud"` Location string `json:"location" yaml:"location"` TenantID string `json:"tenantId" yaml:"tenantId"` SubscriptionID string `json:"subscriptionId" yaml:"subscriptionId"` ResourceGroup string `json:"resourceGroup" yaml:"resourceGroup"` // Managed identity for Kubelet (not to be confused with Azure cloud authorization) KubeletIdentityClientID string `json:"kubeletIdentityClientID" yaml:"kubeletIdentityClientID"` // Configs only for AKS NodeResourceGroup string `json:"nodeResourceGroup" yaml:"nodeResourceGroup"` }
Config holds the configuration parsed from the --cloud-config flag
func BuildAzureConfig ¶
BuildAzureConfig returns a Config object for the Azure clients
func (*Config) GetAzureClientConfig ¶
func (cfg *Config) GetAzureClientConfig(authorizer autorest.Authorizer, env *azure.Environment) *ClientConfig
Click to show internal directories.
Click to hide internal directories.