Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDriver ¶
func AddDriver(backend types.Backend, init Initialize)
Types ¶
type Initialize ¶
type Initialize func(parameters types.Parameters) (StorageDriver, error)
type StorageDriver ¶
type StorageDriver interface { Open() error Close() SetConfigParameters(parameters types.Parameters) GetLocationsName() []string GetLocation(location string) *models.WorkLocation GetLocationSimpleJobs(location string) []*models.SimpleJob GetSimpleJob(jobid string) *models.SimpleJob GetJobs() []*models.Job GetStateJobs(state int) []*models.Job GetLocationJobs(location string) []*models.Job GetGroupJobs(groupid string) []*models.Job GetJob(jobid string) *models.Job SetJob(job *models.Job) SetJobLog(joblog *models.JobLog) }
StorageDriver is exported
func NewDriver ¶
func NewDriver(backend types.Backend, parameters types.Parameters) (StorageDriver, error)
Click to show internal directories.
Click to hide internal directories.