1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

Added data store backend. (#17)

* Added data store backend.
* Add NFS implementation for Kubernetes.
* Added S3 data store implementation.
* Addressed review comments.
This commit is contained in:
Balaji Subramaniam
2018-10-04 09:45:59 -07:00
committed by zach dwiel
parent 6b2de6ba6d
commit 1c238b4c60
6 changed files with 327 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
class DataStoreParameters(object):
def __init__(self, store_type, orchestrator_type, orchestrator_params):
self.store_type = store_type
self.orchestrator_type = orchestrator_type
self.orchestrator_params = orchestrator_params
class DataStore(object):
def __init__(self, params: DataStoreParameters):
pass
def deploy(self) -> bool:
pass
def get_info(self):
pass
def undeploy(self) -> bool:
pass
def save_to_store(self):
pass
def load_from_store(self):
pass