utils

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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{}

Functions

func FilterValidAccounts added in v1.1.1

func FilterValidAccounts(
	accounts []string,
	filteredAccounts *[]string,
	verbose bool,
) int

func FilterValidContainers added in v1.1.1

func FilterValidContainers(
	containers []string,
	filteredContainers *[]string,
	verbose bool,
) int

func FormatSize added in v1.0.3

func FormatSize(inputSize int64) string

func IsValidContainerName added in v1.1.0

func IsValidContainerName(name string) bool

func IsValidStorageAccountName

func IsValidStorageAccountName(name string) bool

func ReadLines

func ReadLines(filename string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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