Documentation ¶
Index ¶
Constants ¶
View Source
const ( AzurePublicCloud = "AzurePublicCloud" AzureChinaCloud = "AzureChinaCloud" ResourceGroupPrefix = "azuredisk-csi-driver-test-" TempAzureCredentialFilePath = "/tmp/azure.json" )
Variables ¶
This section is empty.
Functions ¶
func DeleteAzureCredentialFile ¶
func DeleteAzureCredentialFile() error
CreateAzureCredentialFile deletes the temporary Azure credential file
Types ¶
type Credentials ¶
type Credentials struct { Cloud string TenantID string SubscriptionID string AADClientID string AADClientSecret string ResourceGroup string Location string }
Credentials is used in Azure File CSI Driver to store Azure credentials
func CreateAzureCredentialFile ¶
func CreateAzureCredentialFile(isAzureChinaCloud bool) (*Credentials, error)
CreateAzureCredentialFile creates a temporary Azure credential file for Azure Disk CSI driver tests and returns the credentials
type ProwConfig ¶ added in v0.8.0
type ProwConfig struct {
Creds ProwCredentials
}
ProwConfig is used in Prow to store Azure credentials https://github.com/kubernetes/test-infra/blob/master/kubetest/azure.go#L116-L118
type ProwCredentials ¶ added in v0.8.0
type ProwCredentials struct { ClientID string ClientSecret string TenantID string SubscriptionID string StorageAccountName string StorageAccountKey string }
ProwCredentials is used in Prow to store Azure credentials https://github.com/kubernetes/test-infra/blob/master/kubetest/azure.go#L107-L114
Click to show internal directories.
Click to hide internal directories.