utils

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

Functions

func Fetch

func Fetch(url string, ctx context.Context) (*http.Response, error)

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