Documentation ¶
Index ¶
- Variables
- func APIVersion(typ string) string
- type AROEnvironment
- func (e *AROEnvironment) ArmClientOptions() *arm.ClientOptions
- func (e *AROEnvironment) ClientCertificateCredentialOptions() *azidentity.ClientCertificateCredentialOptions
- func (e *AROEnvironment) ClientSecretCredentialOptions() *azidentity.ClientSecretCredentialOptions
- func (e *AROEnvironment) EnvironmentCredentialOptions() *azidentity.EnvironmentCredentialOptions
- func (e *AROEnvironment) ManagedIdentityCredentialOptions() *azidentity.ManagedIdentityCredentialOptions
- type LoggingSender
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PublicCloud contains additional ARO information for the public Azure cloud environment. PublicCloud = AROEnvironment{ Environment: azure.PublicCloud, ActualCloudName: "AzureCloud", GenevaMonitoringEndpoint: "https://gcs.prod.monitoring.core.windows.net/", AppSuffix: "aro.azure.com", ResourceManagerScope: azure.PublicCloud.ResourceManagerEndpoint + "/.default", KeyVaultScope: azure.PublicCloud.ResourceIdentifiers.KeyVault + "/.default", ActiveDirectoryGraphScope: azure.PublicCloud.GraphEndpoint + "/.default", } // USGovernmentCloud contains additional ARO information for the US Gov cloud environment. USGovernmentCloud = AROEnvironment{ Environment: azure.USGovernmentCloud, ActualCloudName: "AzureUSGovernment", GenevaMonitoringEndpoint: "https://gcs.monitoring.core.usgovcloudapi.net/", AppSuffix: "aro.azure.us", ResourceManagerScope: azure.USGovernmentCloud.ResourceManagerEndpoint + "/.default", KeyVaultScope: azure.USGovernmentCloud.ResourceIdentifiers.KeyVault + "/.default", ActiveDirectoryGraphScope: azure.USGovernmentCloud.GraphEndpoint + "/.default", } )
Functions ¶
func APIVersion ¶
APIVersion gets the APIVersion from a full resource type
Types ¶
type AROEnvironment ¶
type AROEnvironment struct { azure.Environment ActualCloudName string GenevaMonitoringEndpoint string AppSuffix string Cloud cloud.Configuration // Microsoft identity platform scopes used by ARO // See https://learn.microsoft.com/EN-US/azure/active-directory/develop/scopes-oidc#the-default-scope ResourceManagerScope string KeyVaultScope string ActiveDirectoryGraphScope string }
AROEnvironment contains additional, cloud-specific information needed by ARO.
func EnvironmentFromName ¶
func EnvironmentFromName(name string) (AROEnvironment, error)
EnvironmentFromName returns the AROEnvironment corresponding to the common name specified.
func (*AROEnvironment) ArmClientOptions ¶
func (e *AROEnvironment) ArmClientOptions() *arm.ClientOptions
ArmClientOptions returns an arm.ClientOptions to be passed in when instantiating Azure SDK for Go clients.
func (*AROEnvironment) ClientCertificateCredentialOptions ¶
func (e *AROEnvironment) ClientCertificateCredentialOptions() *azidentity.ClientCertificateCredentialOptions
func (*AROEnvironment) ClientSecretCredentialOptions ¶
func (e *AROEnvironment) ClientSecretCredentialOptions() *azidentity.ClientSecretCredentialOptions
func (*AROEnvironment) EnvironmentCredentialOptions ¶
func (e *AROEnvironment) EnvironmentCredentialOptions() *azidentity.EnvironmentCredentialOptions
func (*AROEnvironment) ManagedIdentityCredentialOptions ¶
func (e *AROEnvironment) ManagedIdentityCredentialOptions() *azidentity.ManagedIdentityCredentialOptions
Click to show internal directories.
Click to hide internal directories.