Versions in this module Expand all Collapse all v0 v0.0.1 Nov 24, 2024 Changes in this version + func AssertErrorMatch(t *testing.T, s string, e error) + func AssertInventoryHasItems(t *testing.T, gs *templatesv1.GitOpsSet, objs ...runtime.Object) + func AssertNoError(t *testing.T, err error) + func AssertNotFound(t *testing.T, err error) + func MakeTestKustomization(name types.NamespacedName, opts ...func(*kustomizev1.Kustomization)) *kustomizev1.Kustomization + func MatchErrorString(t *testing.T, s string, e error) bool + func NewConfigMap(opts ...func(*corev1.ConfigMap)) *corev1.ConfigMap + func NewGitRepository(opts ...func(*sourcev1.GitRepository)) *sourcev1.GitRepository + func NewImagePolicy(opts ...func(*imagev1.ImagePolicy)) *imagev1.ImagePolicy + func NewNamespace(name string, opts ...func(*corev1.Namespace)) *corev1.Namespace + func NewSecret(opts ...func(*corev1.Secret)) *corev1.Secret + func StartFakeArchiveServer(t *testing.T, dir string) *httptest.Server + func ToUnstructured(t *testing.T, obj runtime.Object) *unstructured.Unstructured + type EventData struct + EventType string + Message string + Reason string + type FakeEventRecorder struct + Events []*EventData + func (f *FakeEventRecorder) Event(object runtime.Object, eventtype, reason, message string) + func (f *FakeEventRecorder) Reset()