mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
refactor runner using titan
This commit is contained in:
13
api/models/runner.go
Normal file
13
api/models/runner.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrRunnerRouteNotFound = errors.New("Route not found on that application")
|
||||
ErrRunnerInvalidPayload = errors.New("Invalid payload")
|
||||
ErrRunnerRunRoute = errors.New("Couldn't run this route in the job server")
|
||||
ErrRunnerAPICantConnect = errors.New("Couldn`t connect to the job server API")
|
||||
ErrRunnerAPICreateJob = errors.New("Could not create a job in job server")
|
||||
ErrRunnerInvalidResponse = errors.New("Invalid response")
|
||||
ErrRunnerTimeout = errors.New("Timed out")
|
||||
)
|
||||
Reference in New Issue
Block a user