Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AzurePublicCloud = azureEnvironment{ Name: "PUBLIC", ServiceManagementEndpoint: "https://management.core.windows.net/", ResourceManagerEndpoint: "https://management.azure.com/", ActiveDirectoryEndpoint: "https://login.microsoftonline.com/", } AzureUsGovernmentCloud = azureEnvironment{ Name: "USGOVERNMENT", ServiceManagementEndpoint: "https://management.core.usgovcloudapi.net/", ResourceManagerEndpoint: "https://management.usgovcloudapi.net/", ActiveDirectoryEndpoint: "https://login.microsoftonline.us/", } AzureChinaCloud = azureEnvironment{ Name: "CHINA", ServiceManagementEndpoint: "https://management.core.chinacloudapi.cn/", ResourceManagerEndpoint: "https://management.chinacloudapi.cn/", ActiveDirectoryEndpoint: "https://login.chinacloudapi.cn/", } )
based on github.com/Azure/go-autorest/autorest/azure/azureEnvironments.go
Functions ¶
This section is empty.
Types ¶
type DatabricksEnvironment ¶
type DatabricksEnvironment struct { Cloud Cloud DnsZone string AzureApplicationID string AzureEnvironment *azureEnvironment }
func AllEnvironments ¶
func AllEnvironments() []DatabricksEnvironment
func DefaultEnvironment ¶
func DefaultEnvironment() DatabricksEnvironment
we default to AWS Prod environment since this case will be a hit for PVC
func GetEnvironmentForHostname ¶
func GetEnvironmentForHostname(hostname string) DatabricksEnvironment
func (DatabricksEnvironment) AzureActiveDirectoryEndpoint ¶
func (de DatabricksEnvironment) AzureActiveDirectoryEndpoint() string
func (DatabricksEnvironment) AzureResourceManagerEndpoint ¶
func (de DatabricksEnvironment) AzureResourceManagerEndpoint() string
func (DatabricksEnvironment) AzureServiceManagementEndpoint ¶
func (de DatabricksEnvironment) AzureServiceManagementEndpoint() string
func (DatabricksEnvironment) DeploymentURL ¶
func (de DatabricksEnvironment) DeploymentURL(name string) string
Click to show internal directories.
Click to hide internal directories.