stoutils

package
v0.0.0-...-ea0be71 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewApiKeySecret = cryptoLongId
View Source
var NewClientId = shortId
View Source
var NewCollectionChangesetId = shortId

there's going to be comparatively few of these (changeset IDs are unique within a collection)

View Source
var NewCollectionId = longId

there's gonna be lots of these

View Source
var NewDirectoryId = longId
View Source
var NewEncryptionKeyId = longId
View Source
var NewIntegrityVerificationJobId = shortId
View Source
var NewKeyEncryptionKeyId = shortId
View Source
var NewNodeId = shortId
View Source
var NewReplicationPolicyId = shortId
View Source
var NewVolumeMountId = shortId
View Source
var NewVolumeUuid = longId

Functions

func BlobHashVerifier

func BlobHashVerifier(reader io.Reader, br stotypes.BlobRef) io.Reader

this should not be called from anywhere other than DiskAccessManager and varastoclient

func CreateTcpOrDomainSocketListener

func CreateTcpOrDomainSocketListener(addr string, logl *logex.Leveled) (net.Listener, error)

func IsMaybeCompressible

func IsMaybeCompressible(filename string) bool

func ParseDomainSocketPath

func ParseDomainSocketPath(baseUrl 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