package
2.0.1+incompatible
Repository: https://github.com/pyroscope-io/ci.git
Documentation: pkg.go.dev
# Functions
FindCandidateFiles finds files candidate for installation.
Install Install the pyroscope agent into test packages It does that by recursively finding packages with tests Then it generates a `pyroscope_test.go` file for each package With the profile type and app name specified.
ProfileTypesToCode converts ProfileTypes flags into the name it's used in the agent code TODO: unify this with upstream https://github.com/pyroscope-io/client/blob/46ac3c0a285626dbf2ef17e017fae2e1b985ee12/pyroscope/types.go#L14-L26.
Uninstall deletes the files generated by Install It returns the list of files that have been actually deleted.
# Constants
No description provided by the author
# Variables
TODO: maybe upstream should export this?.
# Structs
No description provided by the author