azure

package
v1.9.10 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagNameAzureTenantID     = "azure.tenant_id"
	FlagNameAzureClientID     = "azure.client_id"
	FlagNameAzureClientSecret = "azure.client_secret"
	FlagNameAzureTimeout      = "azure.timeout"
)
View Source
const (
	FlagNameInsightsInstrumentationkey = "azure.insights.instrumentationkey"
	FlagNameInsightsBatchSize          = "azure.insights.batchsize"
	FlagNameInsightsBatchInterval      = "azure.insights.batchinterval"
)
View Source
const (
	FlagNameAzureCfgEndpoint = "azure.cfg.endpoint"
)

Variables

View Source
var (
	FlagAzureTenantID     = common.SystemFlagString(FlagNameAzureTenantID, os.Getenv("AZURE_TENANT_ID"), "Azure configuration tenant ID. Omit to use ENV.")
	FlagAzureClientID     = common.SystemFlagString(FlagNameAzureClientID, os.Getenv("AZURE_CLIENT_ID"), "Azure configuration client ID. Omit to use ENV.")
	FlagAzureClientSecret = common.SystemFlagString(FlagNameAzureClientSecret, os.Getenv("AZURE_CLIENT_SECRET"), "Azure configuration client secret. Omit to use ENV.")
	FlagAzureTimeout      = common.SystemFlagInt(FlagNameAzureTimeout, 30000, "Azure configuration timeout")
)
View Source
var (
	FlagInsightsInstrumentationkey = common.SystemFlagString(FlagNameInsightsInstrumentationkey, "", "Azure insights instrumentation key")
	FlagInsightsBatchSize          = common.SystemFlagInt(FlagNameInsightsBatchSize, 8192, "Azure insights batch size")
	FlagInsightsBatchInterval      = common.SystemFlagInt(FlagNameInsightsBatchInterval, 100, "Azure insights batch interval")
)
View Source
var (
	FlagAzureCfgEndpoint = common.SystemFlagString(FlagNameAzureCfgEndpoint, "", "Azure configuration endpoint")
)

Functions

func AzureAppConfiguration added in v1.9.2

func AzureAppConfiguration(onlyFlags bool) (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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