Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigPath = "cloud" AzurePublicName = "AzureCloud" AzureChinaCloudName = "AzureChinaCloud" AzureUSGovernmentName = "AzureUSGovernment" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloud ¶
type Cloud struct {
Configuration cloud.Configuration
// The base URL for the cloud's portal (e.g. https://portal.azure.com for
// Azure public cloud).
PortalUrlBase string
// The suffix for the cloud's storage endpoints (e.g. core.windows.net for
// Azure public cloud). These are well known values and can be found at:
// https://<management-endpoint>/metadata/endpoints?api-version=2023-12-01
StorageEndpointSuffix string
// The suffix for the cloud's container registry endpoints. These are well
// known values and can be found at:
// https://<management-endpoint>/metadata/endpoints?api-version=2023-12-01
ContainerRegistryEndpointSuffix string
KeyVaultEndpointSuffix string
}
func AzureChina ¶
func AzureChina() *Cloud
func AzureGovernment ¶
func AzureGovernment() *Cloud
func AzurePublic ¶
func AzurePublic() *Cloud
Click to show internal directories.
Click to hide internal directories.