Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLevel ¶
type AccessLevel int
const ( Guest AccessLevel = 10 Reporter AccessLevel = 20 Developer AccessLevel = 30 Maintainer AccessLevel = 40 )
func (AccessLevel) String ¶ added in v0.7.0
func (ac AccessLevel) String() string
type AssignmentConfig ¶
type AssignmentConfig struct {
Course string
Name string
Path string
URL string
Per Per
Description string
ContainerRegistry bool
AccessLevel AccessLevel
Students []string
Groups []*Group
Startercode *Startercode
Clone *Clone
}
func GetAssignmentConfig ¶
func GetAssignmentConfig(course, assignment string, onlyForStudentsOrGroups ...string) *AssignmentConfig
func (*AssignmentConfig) SetBranch ¶ added in v0.8.0
func (cfg *AssignmentConfig) SetBranch(branch string)
func (*AssignmentConfig) SetForce ¶ added in v0.10.0
func (cfg *AssignmentConfig) SetForce()
func (*AssignmentConfig) SetLocalpath ¶ added in v0.8.0
func (cfg *AssignmentConfig) SetLocalpath(localpath string)
func (*AssignmentConfig) Show ¶ added in v0.6.0
func (cfg *AssignmentConfig) Show()
type CourseConfig ¶
func GetCourseConfig ¶
func GetCourseConfig(course string) *CourseConfig
Click to show internal directories.
Click to hide internal directories.