package
0.1.0
Repository: https://github.com/segmentio/kubeapply.git
Documentation: pkg.go.dev

# Functions

AddHeaders adds a comment header to all yaml files in the argument path.
ApplyTemplate runs golang templating on all files in the provided path, replacing them in-place with their templated versions.
CloneRepo makes a shallow clone of the argument repo at a single ref.
CompareJSONObjs compares two objects via their JSON representations.
CreateNamespace creates a namespace in a test cluster.
DeleteNamespace deletes a namespace in a test cluster.
DirExists returns whether the given path exists and is a directory.
FileExists returns whether the given path exists and is a file.
GetResources gets the objects with the given kind in the argument namespace.
GetSSMValue gets a secret value from AWS SSM.
KindEnabled returns whether testing with kind is enabled.
LogrusDebugPrinter returns a printer that prints via logrus at the debug level.
LogrusInfoPrinter returns a printer that prints via logrus at the info level.
LogrusWarnPrinter returns a printer that prints via logrus at the warn level.
ParseS3URL splits an s3 url into its bucket and key.
RecursiveCopy does a recursive copy from the source directory to the destination one.
RemoveDirs removes all directories that contain a file with the specified indicatorName (e.g., ".noexpand").
RestoreData generates a local version of the resource(s) at the argument URL.
RunCmdWithPrinters runs a command with output streamed via custom printer functions.
WriteFiles takes a map of paths to file contents and uses this to write out files to the file system.

# Variables

No description provided by the author
No description provided by the author

# Type aliases

Printer is a function that prints out a string, e.g.