Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultExecutorPort = "9999" DefaultRegistryKey = "golang-jobs" )
View Source
const ( GlueTypeBEAN = "BEAN" GlueTypeGROOVY = "GLUE(Java)" GlueTypeSHELL = "GLUE(Shell)" GlueTypePYTHON = "GLUE(Python)" GlueTypePHP = "GLUE(PHP)" GlueTypeNODEJS = "GLUE(Nodejs)" GlueTypePOWERSHELL = "GLUE(PowerShell)" )
View Source
const ( SerialExecution = "SERIAL_EXECUTION" DiscardLater = "DISCARD_LATER" CoverEarly = "COVER_EARLY" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor Executor
func (*Executor) WithHealthCheck ¶
WithHealthCheck ExecutorService's web health check endpoint
type ExecutorBiz ¶
type ExecutorBiz struct { }
func NewExecutorService ¶
func NewExecutorService() *ExecutorBiz
func (*ExecutorBiz) IdleBeat ¶
func (biz *ExecutorBiz) IdleBeat(ctx *server.Context)
IdleBeat check job is alive
type HealthFunc ¶
type JobExecutor ¶
type Option ¶
type Option func(o *Options)
func AccessToken ¶
func AdmAdmAddresses ¶
func ExecutorIp ¶
func ExecutorPort ¶
func RegistryKey ¶
Click to show internal directories.
Click to hide internal directories.