chainlink: Index | Files

package migration1568833756

import ""


Package Files


func Migrate Uses

func Migrate(tx *gorm.DB) error

Migrate Initiator parameter 'Text' to support External Initaitor generic JSON parameters.

type Initiator Uses

type Initiator struct {
    ID         uint       `gorm:"primary_key;auto_increment"`
    JobSpecID  *models.ID `gorm:"index;type:varchar(36) REFERENCES job_specs(id)"`
    Type       string     `gorm:"index;not null"`
    CreatedAt  time.Time  `gorm:"index"`
    Schedule   models.Cron
    Time       models.AnyTime
    Ran        bool
    Address    common.Address           `gorm:"index"`
    Requesters models.AddressCollection `gorm:"type:text"`
    Name       string
    Params     string
    DeletedAt  null.Time `gorm:"index"`

Initiator could be thought of as a trigger, defines how a Job can be started, or rather, how a JobRun can be created from a Job. Initiators will have their own unique ID, but will be associated to a parent JobID.

Package migration1568833756 imports 6 packages (graph). Updated 2019-11-11. Refresh now. Tools for package owners.

The go get command cannot install this package because of the following issues: