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:
committed by
zach dwiel
parent
6b2de6ba6d
commit
1c238b4c60
26
rl_coach/data_stores/data_store.py
Normal file
26
rl_coach/data_stores/data_store.py
Normal 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
|
||||
Reference in New Issue
Block a user