package
0.11.0
Repository: https://github.com/falcosecurity/falcoctl.git
Documentation: pkg.go.dev

# Functions

CreateTarGzArchive compresses and saves in a tar archive the passed file.
ExistsAndIsWritable checks if the directory specified by the path exists and is writable.
ExtractTarGz extracts a *.tar.gz compressed archive and moves its content to destDir.
FileExists checks if a file exists on disk.
GetRegistryFromRef extracts the registry from a ref string.
IsTarGz checks if the file is of type tar.gz.
Move moves oldPath file to to newPath file.
NameFromRef extracts the name of the artifact from a ref string.
ReplaceLineInFile searches for occurrences of searchFor in the file pointed by filePath, and substitutes the whole matching line with the provided one.
ReplaceTextInFile searches for occurrences of searchFor in the file pointed by filePath, and substitutes the matching string with the provided one.
RepositoryFromRef extracts the registry+repository from a ref string.

# Constants

TmpDirPrefix prefix used for the temporary directory where the tar.gz archives live before pushing to the OCI registry.

# Variables

ErrNotTarGz returned when the file is not a tar.gz archive.