package
1.2.0
Repository: https://github.com/openshift/backplane-tools.git
Documentation: pkg.go.dev

# Functions

Contains returns true if the provided list has a matching element.
ContainsAll returns true if all of the provided search terms are a substring of 'str'.
ContainsAny returns true if any of the provided search terms are a substring of 'str'.
FileExists checks if a file *of any type* is present at the given path.
GetArchAliases returns all commonly used names for the system's architecture.
No description provided by the author
GetLineInFileMatchingKey searches the provided file for a line that contains the provided key.
GetLinInReader searches the provided reader for a line that contains the provided string.
GetOSAliases returns all commonly used names for the system's OS.
Keys returns a slice containing the keys of the provided map.
Checksum reads the file at the provided path and calculates the sha256sum.
Unarchive decompresses and extracts the contents of .tar.gz bundles to the specified destination.
Unzip extracts files from a zip archive to the specified destination directory.
No description provided by the author
WriteFile creates a new file using the contents provided ('from') at the path provided ('to').

# Constants

No description provided by the author