Documentation ¶
Index ¶
- func NewDB(sqldb *sql.DB, bootstrapSpecID int32, lggr logger.Logger) *db
- func ValidatedBootstrapSpecToml(tomlString string) (jb job.Job, err error)
- type Delegate
- func (d *Delegate) AfterJobCreated(spec job.Job)
- func (d *Delegate) BeforeJobCreated(spec job.Job)
- func (d *Delegate) BeforeJobDeleted(spec job.Job)
- func (d *Delegate) JobType() job.Type
- func (d *Delegate) OnDeleteJob(spec job.Job, q pg.Queryer) error
- func (d *Delegate) ServicesForSpec(jb job.Job, qopts ...pg.QOpt) (services []job.ServiceCtx, err error)
- type RelayGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Delegate ¶
type Delegate struct { RelayGetter // contains filtered or unexported fields }
Delegate creates Bootstrap jobs
func NewDelegateBootstrap ¶
func NewDelegateBootstrap( db *sqlx.DB, jobORM job.ORM, peerWrapper *ocrcommon.SingletonPeerWrapper, lggr logger.Logger, ocr2Cfg validate.OCR2Config, insecureCfg validate.InsecureConfig, relayers RelayGetter, ) *Delegate
NewDelegateBootstrap creates a new Delegate
func (*Delegate) AfterJobCreated ¶
AfterJobCreated satisfies the job.Delegate interface.
func (*Delegate) BeforeJobCreated ¶
func (*Delegate) BeforeJobDeleted ¶
BeforeJobDeleted satisfies the job.Delegate interface.
func (*Delegate) OnDeleteJob ¶
OnDeleteJob satisfies the job.Delegate interface.
func (*Delegate) ServicesForSpec ¶
func (d *Delegate) ServicesForSpec(jb job.Job, qopts ...pg.QOpt) (services []job.ServiceCtx, err error)
ServicesForSpec satisfies the job.Delegate interface.
Click to show internal directories.
Click to hide internal directories.