Documentation ¶
Index ¶
- Constants
- Variables
- func FilterValidAccounts(accounts []string, filteredAccounts *[]string, verbose bool) int
- func FilterValidContainers(containers []string, filteredContainers *[]string, verbose bool) int
- func FormatSize(inputSize int64) string
- func IsValidContainerName(name string) bool
- func IsValidStorageAccountName(name string) bool
- func ReadLines(filename string) []string
Constants ¶
View Source
const ( ACCOUNT_PATTERN = "^[a-z0-9]*$" CONTAINER_PATTERN = "^[a-zA-Z][a-zA-Z0-9-]*$" BLOB_URL_PATTERN = "<Url>([^<]+)" )
Variables ¶
View Source
var Empty struct{}
View Source
var REGEXP_ACCOUNT = regexp.MustCompile(ACCOUNT_PATTERN)
View Source
var REGEXP_BLOB_URL = regexp.MustCompile(BLOB_URL_PATTERN)
View Source
var REGEXP_CONTAINER = regexp.MustCompile(CONTAINER_PATTERN)
Functions ¶
func FilterValidAccounts ¶ added in v1.1.1
func FilterValidContainers ¶ added in v1.1.1
func FormatSize ¶ added in v1.0.3
func IsValidContainerName ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.