Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { UUID string `gorm:"primaryKey"` Hostname string KeyName string Labels pq.StringArray `gorm:"type:text[]"` Plans pq.StringArray `gorm:"type:text[]"` Active bool `gorm:"default:true"` CreatedAt time.Time UpdatedAt time.Time LastAssignedAt time.Time }
Agent model
type Key ¶
type Key struct { Name string `gorm:"primaryKey"` PublicKey []byte CreatedAt time.Time UpdatedAt time.Time ExpiresAt time.Time }
Key model
type Run ¶
type Run struct { UUID string `gorm:"primaryKey"` Agent string Plan string `gorm:"not null;default:null"` Labels pq.StringArray `gorm:"type:text[]"` Payload []byte Status string AssignedAt time.Time `gorm:"default:null"` StartedAt time.Time `gorm:"default:null"` FinishedAt time.Time `gorm:"default:null"` CreatedAt time.Time UpdatedAt time.Time }
Run model
Click to show internal directories.
Click to hide internal directories.