summaryrefslogtreecommitdiffstats
path: root/custodia/store/interface.py
blob: 6ca3ea46052028cb4083f57e486c8ce6bc170488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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, replace=False):
        raise NotImplementedError

    def list(self, keyfilter=None):
        raise NotImplementedError