package
1.5.4
Repository: https://github.com/greths/brice.git
Documentation: pkg.go.dev

# Functions

GetAvailableSpace gets the amount of available space at the path specified.
GetNamespace returns the namespace the pod is executing in.
MinQuantity calculates the minimum of two quantities.
ParseEnvVar provides a wrapper to attempt to fetch the specified env var.
RandAlphaNum provides an implementation to generate a random alpha numeric string of the specified length.
StartPrometheusEndpoint starts an http server providing a prometheus endpoint using the passed in directory to store the self signed certificates that will be generated before starting the http server.
UnArchiveLocalTar unarchives a local tar file to the specified destination.
UnArchiveTar unarchives a tar file and streams its files using the specified io.Reader to the specified destination.

# Structs

CountingReader is a reader that keeps track of how much has been read.