File: storage.rst

package info (click to toggle)
cloudkitty 23.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,528 kB
  • sloc: python: 21,803; sh: 528; makefile: 226; pascal: 54
file content (16 lines) | stat: -rw-r--r-- 510 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
====================
Storage backend (v2)
====================

.. warning:: This backend is considered unstable and should be used for
             upstream development only.

In order to implement a storage backend for cloudkitty, you'll have to
implement the following abstract class:

.. autoclass:: cloudkitty.storage.v2.BaseStorage
   :members:

You'll then need to register an entrypoint corresponding to your storage
backend in the ``cloudkitty.storage.v2.backends`` section of the ``setup.cfg``
file.