Documentation ¶
Index ¶
- func NewDB(sqldb *sql.DB, oracleSpecID int32, lggr logger.Logger) *db
- func ToLocalConfig(config Config, spec job.OffchainReporting2OracleSpec) types.LocalConfig
- func ValidatedOracleSpecToml(config Config, tomlString string) (job.Job, error)
- type Config
- type Delegate
- func (Delegate) AfterJobCreated(spec job.Job)
- func (Delegate) BeforeJobDeleted(spec job.Job)
- func (d Delegate) JobType() job.Type
- func (Delegate) OnJobCreated(spec job.Job)
- func (Delegate) OnJobDeleted(spec job.Job)
- func (d Delegate) ServicesForSpec(jobSpec job.Job) (services []job.Service, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToLocalConfig ¶
func ToLocalConfig(config Config, spec job.OffchainReporting2OracleSpec) types.LocalConfig
ToLocalConfig creates a OCR2 LocalConfig from the global config and the OCR2 spec.
Types ¶
type Config ¶
type Config interface { config.OCR2Config Dev() bool JobPipelineResultWriteQueueDepth() uint64 }
Config contains OCR2 configurations for a job.
type Delegate ¶
type Delegate struct {
// contains filtered or unexported fields
}
func NewDelegate ¶
func (Delegate) AfterJobCreated ¶
func (Delegate) BeforeJobDeleted ¶
func (Delegate) OnJobCreated ¶
func (Delegate) OnJobDeleted ¶
Click to show internal directories.
Click to hide internal directories.