Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrJobStopped = errors.New("job stopped") ErrObserveTimeout = errors.New("observation timed out") )
View Source
var ( ErrJobNotFound = errors.New("job not found") ErrInternal = errors.New("internal error") )
Functions ¶
func NewMonitor ¶
func NewMonitor() commontypes.MonitoringEndpoint
Types ¶
type JobService ¶
type JobService interface { StartJob(jobID string, spec *model.JobSpec) error RunJob(jobID, result string) error StopJob(jobID string) error Close() error }
func NewJobService ¶
func NewJobService( dbDriver DBDriver, client chainlink.WebhookClient, peerKey p2pkey.Key, peerNetworkingConfig p2p.NetworkingConfig, ocrKey ocrkey.KeyV2, chainID string, chainQueryClient chaintypes.QueryClient, cosmosClient chainclient.CosmosClient, tmClient tmclient.TendermintClient, onchainSigner sdk.AccAddress, cosmosKeyring keyring.Keyring, ) (JobService, error)
type JobStateDB ¶
func NewJobDBWrapper ¶
func NewJobDBWrapper(dbSvc db.JobDBService) JobStateDB
Click to show internal directories.
Click to hide internal directories.