Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyPersistency ¶
type DummyPersistency struct { }
DummyPersistenxy implements the PersistencyImplementer interface but does not do anyhthing when one of the methods are called.
func (*DummyPersistency) SaveJobInfo ¶
func (dp *DummyPersistency) SaveJobInfo(jobid string, ji types.JobInfo) error
func (*DummyPersistency) SaveJobTemplate ¶
func (dp *DummyPersistency) SaveJobTemplate(jobid string, jt types.JobTemplate) error
type PersistencyImplementer ¶
type PersistencyImplementer interface { // SaveJobTemplate makes the JobTemplate persistent. This is done after // a job was submitted by the client. SaveJobTemplate(jobid string, jinfo types.JobTemplate) error // SaveJobInfo makes the JobInfo object persistent. This is usually done // in intervalls or when the user requests a JobInfo object or when the // job is reaped from the DRM: SaveJobInfo(jobid string, jinfo types.JobInfo) error }
PersistencyImplementer is an interface which contains all functions required for making elements (job templates / states etc.) persistent on some endpoints (databases, filesystem / cloud storage etc.). This functionality is required when the DRM does not have support for it or when more advanced operations (moving submitted jobs between clusters) are going to be implemented.
Click to show internal directories.
Click to hide internal directories.