Documentation ¶
Index ¶
- type Client
- func (c *Client) CheckCourse(cfg *config.CourseConfig) bool
- func (c *Client) Delete(assignmentCfg *config.AssignmentConfig)
- func (c *Client) Generate(assignmentCfg *config.AssignmentConfig)
- func (c *Client) ProtectToBranch(assignmentCfg *config.AssignmentConfig)
- func (c *Client) Report(assignmentCfg *config.AssignmentConfig, templateFile *string, output *string)
- func (c *Client) ReportHTML(assignmentCfg *config.AssignmentConfig, templateFile *string, output *string)
- func (c *Client) ReportJSON(assignmentCfg *config.AssignmentConfig, output *string)
- func (c *Client) Setaccess(assignmentCfg *config.AssignmentConfig)
- func (c *Client) Update(assignmentCfg *config.AssignmentConfig)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*gitlab.Client
}
func (*Client) CheckCourse ¶ added in v0.5.0
func (c *Client) CheckCourse(cfg *config.CourseConfig) bool
func (*Client) Delete ¶ added in v0.15.0
func (c *Client) Delete(assignmentCfg *config.AssignmentConfig)
func (*Client) Generate ¶
func (c *Client) Generate(assignmentCfg *config.AssignmentConfig)
func (*Client) ProtectToBranch ¶ added in v0.18.2
func (c *Client) ProtectToBranch(assignmentCfg *config.AssignmentConfig)
func (*Client) Report ¶ added in v0.18.0
func (c *Client) Report(assignmentCfg *config.AssignmentConfig, templateFile *string, output *string)
func (*Client) ReportHTML ¶ added in v0.18.0
func (c *Client) ReportHTML(assignmentCfg *config.AssignmentConfig, templateFile *string, output *string)
func (*Client) ReportJSON ¶ added in v0.18.0
func (c *Client) ReportJSON(assignmentCfg *config.AssignmentConfig, output *string)
func (*Client) Setaccess ¶ added in v0.16.0
func (c *Client) Setaccess(assignmentCfg *config.AssignmentConfig)
func (*Client) Update ¶ added in v0.20.1
func (c *Client) Update(assignmentCfg *config.AssignmentConfig)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.