Documentation ¶
Index ¶
Constants ¶
View Source
const ( PENDING = iota DONE FAILED )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { ID string `json:"id" db:"id"` Name string `json:"name" db:"name"` OSTemplate string `json:"ostemplate" db:"os_template"` Parameters map[string]string `json:"parameters" db:"-"` ParametersJSON sql.NullString `db:"parameters"` CreatedAt time.Time `json:"created_at" db:"created_at"` }
func (*Container) UnmarshalParametersDB ¶
type Job ¶
type Job struct { ID string `json:"id" db:"id"` Type string `json:"type" db:"type"` Status JobStatus `json:"status,omitempty" db:"status"` Payload json.RawMessage `json:"payload" db:"payload"` EntityType sql.NullString `json:"entity_type,omitempty" db:"entity_type"` EntityID sql.NullString `json:"entity_id,omitempty" db:"entity_id"` }
Click to show internal directories.
Click to hide internal directories.