common

package
v1.0.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const AzureDirectory = ".azure"
View Source
const AzureProile = "azureProfile.json"
View Source
const BOM = '\uFEFF'
View Source
const PublicCloud = "AzureCloud"

Variables

This section is empty.

Functions

func GetCurrentAzureSubscriptionFromCli

func GetCurrentAzureSubscriptionFromCli() (string, error)

func ParseConnectionString

func ParseConnectionString(connString string) (name string, key string, err error)

func RemoveBOM

func RemoveBOM(reader *bufio.Reader) error

Types

type AvailableSubscription

type AvailableSubscription struct {
	SubscriptionId  string `json:"id"`
	State           string `json:"state"`
	IsDefault       bool   `json:"isDefault"`
	EnvironmentName string `json:"environmentName"`
}

type AvailableSubscriptions

type AvailableSubscriptions struct {
	Subscriptions []AvailableSubscription `json:"subscriptions"`
}

type CredentialSet

type CredentialSet struct {
	Credential azblob.SharedKeyCredential
	Pipeline   pipeline.Pipeline
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL