@@ -0,0 +1,17 @@
+package keymanager
+
+type Repository struct {
+	KeyManager KeyManager
+}
+
+func (repo *Repository) GetKeyManager() KeyManager {
+	return repo.KeyManager
+}
+
+func (repo *Repository) SetKeyManager(keyManager KeyManager) {
+	repo.KeyManager = keyManager
+}
+
+func (repo *Repository) Clear() {
+	repo.KeyManager = nil
+}
Does it make sense to try and standardize repository structure? We currently have singletons, lists, and maps. Wondering if it wouldn't be simpler for plugin developers (and potentially a little more future-proofed) if they were all maps?