Versions in this module Expand all Collapse all v0 v0.6.20 Feb 26, 2019 v0.6.15 May 16, 2018 v0.6.14 Apr 20, 2018 v0.6.12 Mar 11, 2018 v0.5.25 Jan 30, 2018 v0.5.23 Jan 18, 2018 v0.5.22 Jan 17, 2018 Changes in this version + func GetUserAgentInfo() (string, error) + func SetUserAgentInfo(programVersion string) v0.5.14 Dec 8, 2017 v0.5.13 Dec 2, 2017 v0.5.12 Nov 30, 2017 Changes in this version + func GetBlobStorageClientWithNewHTTPClient(accountName string, accountKey string) storage.BlobStorageClient + func PrintfIfDebug(format string, values ...interface{}) v0.5.10 Nov 13, 2017 Changes in this version + const BufferQCapacity + const GB + const GBF + const KB + const KBF + const LargeBlockAPIVersion + const LargeBlockSizeMax + const MB + const MBF + const MaxBlockCount + const MiByte + const TB + const TBF + var HTTPClientTimeout = 600 + var Verbose = false + func AskUser(question string) bool + func BoolVarAlias(varPtr *bool, shortflag string, longflag string, defaultVal bool, ...) + func ByteCountFromSizeString(sizeStr string) (uint64, error) + func CleanUncommittedBlocks(client *storage.BlobStorageClient, container string, blobName string) error + func CreateContainerIfNotExists(container string, accountName string, accountKey string) + func GetBlobStorageClient(accountName string, accountKey string) storage.BlobStorageClient + func GetBlobStorageClientWithSASToken(accountName string, sasToken string) storage.BlobStorageClient + func GetFileNameFromURL(sourceURI string) (string, error) + func GetNumberOfBlocks(size uint64, blockSize uint64) int + func IntVarAlias(varPtr *int, shortflag string, longflag string, defaultVal int, ...) + func NewHTTPClient() *http.Client + func PrintSize(bytes uint64) string + func PrintUsageDefaults(shortflag string, longflag string, defaultVal string, description string) + func RetriableOperation(operation func(r int) error) (duration time.Duration, startTime time.Time, numOfRetries int) + func StringListVarAlias(varPtr *ListFlag, shortflag string, longflag string, defaultVal string, ...) + func StringVarAlias(varPtr *string, shortflag string, longflag string, defaultVal string, ...) + func Uint64VarAlias(varPtr *uint64, shortflag string, longflag string, defaultVal uint64, ...) + type ListFlag []string + func (lst *ListFlag) Set(value string) error + func (lst *ListFlag) String() string