utils

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: AGPL-3.0 Imports: 8 Imported by: 13

Documentation

Index

Constants

View Source
const ContextAuditKey = key("request-audit-entry")
View Source
const ContextLogKey = key("console-log")
View Source
const ContextRequestHost = key("request-host")
View Source
const ContextRequestID = key("request-id")
View Source
const ContextRequestRemoteAddr = key("request-remote-addr")
View Source
const ContextRequestUserAgent = key("request-user-agent")
View Source
const ContextRequestUserID = key("request-user-id")

Variables

View Source
var (
	ErrCantDetermineMinIOImage = errors.New("can't determine MinIO Image")
)

Functions

func GetLatestMinIOImage added in v0.15.1

func GetLatestMinIOImage(client http.ClientI) (*string, error)

getLatestMinIOImage returns the latest docker image for MinIO if found on the internet

func NewUUID added in v0.16.1

func NewUUID() (string, error)

NewUUID - get a random UUID.

func PossibleParityValues

func PossibleParityValues(args ...string) ([]string, error)

PossibleParityValues returns possible parities for input args, parties are calculated in uniform manner for one pool or multiple pools, ensuring that parities returned are common and applicable across all pools.

Types

This section is empty.

Jump to

Keyboard shortcuts

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