package
0.2.0
Repository: https://github.com/gitops-tools/pkg.git
Documentation: pkg.go.dev

# Functions

CreateSecret creates and returns a new Secret with the provided key in the data.
MakeHookFromFixture creates and returns a WebHook parsed from the provided fixture file, with the correct X-GitHub-Event type etc.
MakeHookRequest creates and returns a new http.Request that resembles a GitHub hook request, including the correct event type and reading and sending a fixture as a JSON body.
MatchError checks errors against a regexp.
ReadJSONFixture reads a filename into a map, and fails the test if it is unable to open or parse the file.
UnmarshalJSON unmarshals a byte-slice to a map.

# Type aliases

No description provided by the author