# Functions
BytesString converts bytes into a human readable string.
CacheDir returns the cache dir for the current cli command.
CalculateBlobUploadRef calculates the OCI reference where blobs for a component should be uploaded.
CleanMarkdownUsageFunc removes markdown tags from the long usage of the command.
CTFComponentArchiveFilename returns the name of the componant archive file in the ctf.
ExponentialBackoff calculates an exponential backoff timeout.
GetFileType returns the mimetype of a file.
Gzip applies gzip compression to an arbitrary byte slice.
PrintPrettyYaml prints the given objects as yaml if enabled.
RandomString creates a new random string with the given length.
RawJSON converts an arbitrary value to json.RawMessage.
SafeConvert converts a byte slice to string.
TargetOCIArtifactRef calculates the target reference for.
WriteFileToTARArchive writes a new file with name=filename and content=inputReader to outputWriter.