Documentation ¶
Index ¶
- type CheckPoint
- type CheckPoints
- func (CheckPoints) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (CheckPoints) GormDataType() string
- func (js CheckPoints) GormValue(ctx context.Context, db *gorm.DB) (expr clause.Expr)
- func (c *CheckPoints) Scan(value interface{}) (err error)
- func (c CheckPoints) Value() (value driver.Value, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckPoint ¶
type CheckPoint struct { Message string `yaml:"message" json:"message"` Weight float32 `yaml:"weight" json:"weight"` Commands command.Commands `yaml:"commands" json:"commands,omitempty"` Dependencies map[string][]int `yaml:"dependencies" json:"dependencies,omitempty"` Correct bool `yaml:"-" json:"correct"` }
func (CheckPoint) Run ¶
func (c CheckPoint) Run(name string, index int, dir string, contents content.Contents, env map[string]string, connectinfo map[workertype.WorkerType]map[string]instance.Instance, checkpoints CheckPoints, result map[string]map[int]CheckPoint) (stdout, stderr bytes.Buffer)
type CheckPoints ¶
type CheckPoints map[string][]CheckPoint
func (CheckPoints) GormDBDataType ¶
func (CheckPoints) GormDataType ¶
func (CheckPoints) GormDataType() string
func (*CheckPoints) Scan ¶
func (c *CheckPoints) Scan(value interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.