Documentation ¶ Index ¶ type RunModel func NewRunModel(c *gorm.DB, defaultTimeout time.Duration) *RunModel func (rm *RunModel) Create(job string) (uint, error) func (rm *RunModel) Get(id uint) (*schema.Run, error) func (rm *RunModel) UpdateRunRetries(id uint, retries uint) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type RunModel ¶ type RunModel struct { Timeout time.Duration // contains filtered or unexported fields } func NewRunModel ¶ func NewRunModel(c *gorm.DB, defaultTimeout time.Duration) *RunModel func (*RunModel) Create ¶ func (rm *RunModel) Create(job string) (uint, error) func (*RunModel) Get ¶ func (rm *RunModel) Get(id uint) (*schema.Run, error) func (*RunModel) UpdateRunRetries ¶ func (rm *RunModel) UpdateRunRetries(id uint, retries uint) error Source Files ¶ View all Source files runModel.go Click to show internal directories. Click to hide internal directories.