Documentation
¶
Index ¶
Constants ¶
View Source
const (
LabDir = "./labs"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Lab ¶
type Lab struct {
ID uint `gorm:"primaryKey" yaml:"-" json:"-"`
LabId string `gorm:"unique" yaml:"-" json:"labId"`
Promissions []user.Group `gorm:"many2many:lab_promissions" yaml:"promissions" json:"promissions"`
Deadlines deadline.Deadlines `yaml:"deadlines" json:"deadlines"`
Network ipv4net `yaml:"network" json:"network"`
Description string `yaml:"description" json:"description"`
Init command.Commands `yaml:"init" json:"init"`
Clear command.Commands `yaml:"clear" json:"clear"`
CheckPoints checkpoint.CheckPoints `yaml:"checkpoints" json:"checkpoints"`
Contents content.Contents `yaml:"contents" json:"contents"`
}
func (Lab) ContainPromission ¶
Click to show internal directories.
Click to hide internal directories.