Documentation
¶
Index ¶
Constants ¶
View Source
const ( FlagNameAzureTenantID = "azure.tenant_id" FlagNameAzureClientID = "azure.client_id" FlagNameAzureClientSecret = "azure.client_secret" FlagNameAzureTimeout = "azure.timeout" FlagNameAzureCfgConn = "azure.cfg.conn" FlagNameAzureCfgKey = "azure.cfg.key" )
View Source
const ( FlagNameInsightsEnabled = "azure.insights.enabled" FlagNameInsightsInstrumentationkey = "azure.insights.instrumentationkey" FlagNameInsightsBatchSize = "azure.insights.batchsize" FlagNameInsightsBatchInterval = "azure.insights.batchinterval" )
Variables ¶
View Source
var ( FlagAzureTenantID = common.SystemFlagString(FlagNameAzureTenantID, os.Getenv("AZURE_TENANT_ID"), "Azure configuration tenant ID. Omit to use ENV parameter AZURE_TENANT_ID.") FlagAzureClientID = common.SystemFlagString(FlagNameAzureClientID, os.Getenv("AZURE_CLIENT_ID"), "Azure configuration client ID. Omit to use ENV parameter AZURE_CLIENT_ID") FlagAzureClientSecret = common.SystemFlagString(FlagNameAzureClientSecret, os.Getenv("AZURE_CLIENT_SECRET"), "Azure configuration client secret. Omit to use ENV parameter AZURE_CLIENT_SECRET") FlagAzureTimeout = common.SystemFlagInt(FlagNameAzureTimeout, 10000, "Azure timeout") FlagAzureCfgConn = common.SystemFlagString(FlagNameAzureCfgConn, "", "Azure configuration connection") FlagAzureCfgKey = common.SystemFlagString(FlagNameAzureCfgKey, "", "Azure configuration key name") )
View Source
var ( FlagInsightsEnabled = common.SystemFlagBool(FlagNameInsightsEnabled, false, "Azure insights enabled") 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") )
Functions ¶
This section is empty.
Types ¶
type AzureAppCfg ¶ added in v1.9.85
type AzureAppCfg struct {
// contains filtered or unexported fields
}
func NewAzureAppCfg ¶ added in v1.9.85
Click to show internal directories.
Click to hide internal directories.