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(jobSpec job.Job) (services []job.ServiceCtx, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Delegate ¶
type Delegate struct {
// 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, cfg validate.Config, relayers map[relay.Network]types.Relayer, ) *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 ¶
ServicesForSpec satisfies the job.Delegate interface.
Click to show internal directories.
Click to hide internal directories.