summaryrefslogtreecommitdiffstats
path: root/custodia/store/interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'custodia/store/interface.py')
-rw-r--r--custodia/store/interface.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/custodia/store/interface.py b/custodia/store/interface.py
new file mode 100644
index 0000000..c804670
--- /dev/null
+++ b/custodia/store/interface.py
@@ -0,0 +1,17 @@
+# Copyright (C) 2015 Custodia Project Contributors - see LICENSE file
+
+
+class CSStoreError(Exception):
+ pass
+
+
+class CSStore(object):
+
+ def get(self, key):
+ raise NotImplementedError
+
+ def set(self, key, value):
+ raise NotImplementedError
+
+ def list(self, keyfilter=None):
+ raise NotImplementedError