Documentation ¶
Index ¶
- type Leveldb
- func (l *Leveldb) AgentList() ([]model.Agent, error)
- func (l *Leveldb) Close() error
- func (l *Leveldb) DeleteIndex(i index) error
- func (l *Leveldb) DeleteJobDefinition(id string) error
- func (l *Leveldb) DeleteSchedule(id string) error
- func (l *Leveldb) DeleteUser(id string) error
- func (l *Leveldb) GetAgent(id string) (*model.Agent, error)
- func (l *Leveldb) GetIndex(itype string, key string) (*index, error)
- func (l *Leveldb) GetJob(id string) (*model.Job, error)
- func (l *Leveldb) GetJobDefinition(id string) (*model.JobDefinition, error)
- func (l *Leveldb) GetSchedule(id string) (*model.Schedule, error)
- func (l *Leveldb) GetUser(id string) (*model.User, error)
- func (l *Leveldb) JobDefinitionList() ([]model.JobDefinition, error)
- func (l *Leveldb) JobDirectories(jobID, parent string) ([]string, error)
- func (l *Leveldb) JobFileList(jobID string, filters map[string]string) ([]model.JobFile, error)
- func (l *Leveldb) JobList(filters map[string]string) ([]model.Job, error)
- func (l *Leveldb) NewIndex(i index) error
- func (l *Leveldb) SaveAgent(a model.Agent) error
- func (l *Leveldb) SaveJob(j model.Job) error
- func (l *Leveldb) SaveJobDefinition(jd model.JobDefinition) error
- func (l *Leveldb) SaveJobFile(jobID string, f model.JobFile) error
- func (l *Leveldb) SaveSchedule(s model.Schedule) error
- func (l *Leveldb) SaveUser(u model.User) error
- func (l *Leveldb) ScheduleList() ([]model.Schedule, error)
- func (l *Leveldb) UserList() ([]model.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Leveldb ¶
func (*Leveldb) DeleteIndex ¶
func (*Leveldb) DeleteJobDefinition ¶
func (*Leveldb) DeleteSchedule ¶
func (*Leveldb) DeleteUser ¶
func (*Leveldb) GetJobDefinition ¶
func (l *Leveldb) GetJobDefinition(id string) (*model.JobDefinition, error)
func (*Leveldb) JobDefinitionList ¶
func (l *Leveldb) JobDefinitionList() ([]model.JobDefinition, error)
func (*Leveldb) JobDirectories ¶
func (*Leveldb) JobFileList ¶
func (*Leveldb) SaveJobDefinition ¶
func (l *Leveldb) SaveJobDefinition(jd model.JobDefinition) error
Click to show internal directories.
Click to hide internal directories.