# Functions

AssertErrorMatch will fail if the error doesn't match the provided error.
AssertInventoryHasItems will ensure that each of the provided objects is listed in the Inventory of the provided GitOpsSet.
AssertNoError will fail if the provided err value is an error.
AssertNotFound will fail if the provided err value not a NotFound error from the K8s client API.
No description provided by the author
MatchErrorString takes a string and matches on the error and returns true if the string matches the error.
NewConfigMap creates and returns a new ConfigMap.
NewGitRepository creates and returns a new GitRepository.
NewImagePolicy creates and returns a new Flux ImagePolicy.
NewNamespace creates a new namespace with the provided name.
NewSecret creates and returns a new Secret.
StartFakeArchiveServer starts an http server that serves the provided directory.
ToUnstructured converts a k8s Object to an Unstructured.

# Structs

EventData represents the data of a fake event used in tests.
FakeEventRecorder is a fake event recorder used in tests to simulate recording the events in a slice of EventData.