Documentation
¶
Index ¶
- func IsValidCronJobHandle(handle string) bool
- func IsValidJobHandle(handle string) bool
- func LocalIP() (net.IP, error)
- func ReadMessage(r io.Reader) (runtime.PT, []byte, error)
- type AP
- type Client
- type Config
- type Server
- func (s *Server) Clients() int
- func (s *Server) DeleteCronJob(cj *CronJob) error
- func (s *Server) EvtLoop()
- func (s *Server) ExpressionToEpoch(scdTime string) (int64, bool)
- func (s *Server) Jobs() int
- func (s *Server) RunningJobsByFunction() map[string]int
- func (s *Server) RunningJobsByWorker() map[string]int
- func (s *Server) Start()
- func (s *Server) Stats() map[string]int
- func (s *Server) WatchJobTimeout()
- func (s *Server) WatcherLoop()
- func (s *Server) Workers() int
- type Session
- type Tuple
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AP ¶
type AP string
const ( AP_Workers AP = "workers" AP_Status AP = "status" AP_Cancel AP = "cancel-job" AP_Show AP = "show" AP_Create AP = "create" AP_Drop AP = "drop" AP_MaxQueue AP = "maxqueue" AP_GetPid AP = "getpid" AP_Shutdown AP = "shutdown" AP_Verbose AP = "verbose" AP_Version AP = "version" AP_PRIORITY_STATUS AP = "prioritystatus" )
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
type Session ¶
type Tuple ¶
type Tuple struct {
// contains filtered or unexported fields
}
Source Files
¶
- client.go
- metrics.go
- restapi.go
- server.go
- session.go
- util.go
- worker.go
Click to show internal directories.
Click to hide internal directories.