utils

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ACCOUNT_PATTERN    = "^[a-z0-9]*$"
	ENTITY_PATTERN     = "^[a-zA-Z][a-zA-Z0-9-]*$"
	ENTITY_URL_PATTERN = "<Url>([^<]+)"
)

Variables

View Source
var Empty struct{}

Functions

func FormatSize added in v1.0.3

func FormatSize(inputSize int64) string

func GetBlobURLs

func GetBlobURLs(containerXML []byte) []string

func IsValidEntityName

func IsValidEntityName(entityName 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