package
Version:
v0.0.0-...-f266d1f
Opens a new window with list of versions in this module.
Published: Feb 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Atom struct {
ID uuid.UUID `gorm:"type:uuid;primaryKey"`
Engine AtomEngine `gorm:"index;not null"`
Image string `gorm:"index;not null"`
Command string `gorm:"command"`
CreatedAt time.Time `gorm:"not null"`
UpdatedAt time.Time `gorm:"not null"`
}
type Callback struct {
ID uuid.UUID `gorm:"type:uuid;primaryKey"`
Type CallbackType `gorm:"index;type:string;not null"`
Configuration string `gorm:"not null"`
JobID uuid.UUID `gorm:"index;not null"`
CreatedAt time.Time `gorm:"not null"`
UpdatedAt time.Time `gorm:"not null"`
}
const (
CallbackTypeNotification CallbackType = "notification"
)
type Job struct {
ID uuid.UUID `gorm:"type:uuid;primaryKey"`
Alias string `gorm:"index"`
TriggerID uuid.UUID `gorm:"type:uuid;index;not null"`
CreatedAt time.Time `gorm:"not null"`
UpdatedAt time.Time `gorm:"not null"`
}
type Task struct {
ID uuid.UUID `gorm:"type:uuid;primaryKey"`
JobID uuid.UUID `gorm:"type:uuid;index;not null"`
AtomID uuid.UUID `gorm:"type:uuid;index;not null"`
NextID *uuid.UUID `gorm:"type:uuid;index"`
CreatedAt time.Time `gorm:"not null"`
UpdatedAt time.Time `gorm:"not null"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.