master

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitApiServer

func InitApiServer() (err error)

Initialize the service

func InitJobMgr

func InitJobMgr() (err error)

func InitLogMgr

func InitLogMgr() (err error)

Types

type ApiServer

type ApiServer struct {
	// contains filtered or unexported fields
}

Job http service

type JobManager

type JobManager struct {
	// contains filtered or unexported fields
}

func (*JobManager) DeleteJob

func (jobMgr *JobManager) DeleteJob(name string) (oldJob *common.Job, err error)

func (*JobManager) KillJob

func (jobMgr *JobManager) KillJob(jobName string) (err error)

func (*JobManager) ListJobs

func (jobMgr *JobManager) ListJobs() (jobList []*common.Job, err error)

func (*JobManager) SaveJob

func (jobMgr *JobManager) SaveJob(job *common.Job) (oldJob *common.Job, err error)

type LogManager

type LogManager struct {
	// contains filtered or unexported fields
}

func (*LogManager) ListLog

func (logMgr *LogManager) ListLog(name string, skip int, limit int) (logArr []*common.JobLog, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL