Datasets:
File size: 800 Bytes
0e239c6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | diff --git a/pkg/recorder/crossrepo_contract/crossrepo_contract_test.go b/pkg/recorder/crossrepo_contract/crossrepo_contract_test.go
new file mode 100644
index 0000000..1111111
--- /dev/null
+++ b/pkg/recorder/crossrepo_contract/crossrepo_contract_test.go
@@ -0,0 +1,19 @@
+package crossrepo_contract_test
+
+import (
+ "testing"
+
+ "k8s.io/apimachinery/pkg/runtime"
+ crrec "sigs.k8s.io/controller-runtime/pkg/recorder"
+)
+
+type annotatedRecorderContract interface {
+ AnnotatedEventf(runtime.Object, runtime.Object, map[string]string, string, string, string, string, ...interface{})
+}
+
+func requireAnnotatedRecorder(r annotatedRecorderContract) {}
+
+func TestCrossRepoAnnotatedRecorderContract(t *testing.T) {
+ var recorder crrec.EventRecorder
+ requireAnnotatedRecorder(recorder)
+}
|