Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Initiator ¶
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.
Click to show internal directories.
Click to hide internal directories.