Documentation
¶
Index ¶
- Variables
- func IssueOpen(issueEvent github.IssuesEvent) bool
- func PullRequestOpen(pullRequestEvent github.PullRequestEvent) bool
- type ApiController
- func (c *ApiController) AddIssue()
- func (c *ApiController) AddMachine()
- func (c *ApiController) AddProgram()
- func (c *ApiController) AddReport()
- func (c *ApiController) AddRound()
- func (c *ApiController) AddStudent()
- func (c *ApiController) AutoUpdateReport()
- func (c *ApiController) DeleteIssue()
- func (c *ApiController) DeleteMachine()
- func (c *ApiController) DeleteProgram()
- func (c *ApiController) DeleteReport()
- func (c *ApiController) DeleteRound()
- func (c *ApiController) DeleteStudent()
- func (c *ApiController) GetAccount()
- func (c *ApiController) GetFilteredReports()
- func (c *ApiController) GetFilteredRounds()
- func (c *ApiController) GetFilteredStudents()
- func (c *ApiController) GetGithubUserByUsername()
- func (c *ApiController) GetIssue()
- func (c *ApiController) GetIssueByName()
- func (c *ApiController) GetMachine()
- func (c *ApiController) GetMachines()
- func (c *ApiController) GetProgram()
- func (c *ApiController) GetPrograms()
- func (c *ApiController) GetProjectColumns()
- func (c *ApiController) GetReport()
- func (c *ApiController) GetReports()
- func (c *ApiController) GetRepositoryByOrg()
- func (c *ApiController) GetRound()
- func (c *ApiController) GetRounds()
- func (c *ApiController) GetSessionClaims() *casdoorsdk.Claims
- func (c *ApiController) GetSessionUser() *casdoorsdk.User
- func (c *ApiController) GetStudent()
- func (c *ApiController) GetStudents()
- func (c *ApiController) GetUsers()
- func (c *ApiController) IsMainlandIp()
- func (c *ApiController) RequireAdmin() bool
- func (c *ApiController) RequireSignedIn() bool
- func (c *ApiController) ResponseError(error string, data ...interface{})
- func (c *ApiController) ResponseOk(data ...interface{})
- func (c *ApiController) SetSessionClaims(claims *casdoorsdk.Claims)
- func (c *ApiController) Signin()
- func (c *ApiController) Signout()
- func (c *ApiController) UpdateIssue()
- func (c *ApiController) UpdateMachine()
- func (c *ApiController) UpdateProgram()
- func (c *ApiController) UpdateReport()
- func (c *ApiController) UpdateRound()
- func (c *ApiController) UpdateStudent()
- func (c *ApiController) WebhookOpen()
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var CasdoorApplication = beego.AppConfig.String("casdoorApplication")
View Source
var CasdoorEndpoint = beego.AppConfig.String("casdoorEndpoint")
View Source
var CasdoorOrganization = beego.AppConfig.String("casdoorOrganization")
View Source
var ClientId = beego.AppConfig.String("clientId")
View Source
var ClientSecret = beego.AppConfig.String("clientSecret")
View Source
var JwtPublicKey string
Functions ¶
func IssueOpen ¶
func IssueOpen(issueEvent github.IssuesEvent) bool
func PullRequestOpen ¶
func PullRequestOpen(pullRequestEvent github.PullRequestEvent) bool
Types ¶
type ApiController ¶
type ApiController struct {
beego.Controller
}
func (*ApiController) AddIssue ¶
func (c *ApiController) AddIssue()
func (*ApiController) AddMachine ¶
func (c *ApiController) AddMachine()
func (*ApiController) AddProgram ¶
func (c *ApiController) AddProgram()
func (*ApiController) AddReport ¶
func (c *ApiController) AddReport()
func (*ApiController) AddRound ¶
func (c *ApiController) AddRound()
func (*ApiController) AddStudent ¶
func (c *ApiController) AddStudent()
func (*ApiController) AutoUpdateReport ¶
func (c *ApiController) AutoUpdateReport()
func (*ApiController) DeleteIssue ¶
func (c *ApiController) DeleteIssue()
func (*ApiController) DeleteMachine ¶
func (c *ApiController) DeleteMachine()
func (*ApiController) DeleteProgram ¶
func (c *ApiController) DeleteProgram()
func (*ApiController) DeleteReport ¶
func (c *ApiController) DeleteReport()
func (*ApiController) DeleteRound ¶
func (c *ApiController) DeleteRound()
func (*ApiController) DeleteStudent ¶
func (c *ApiController) DeleteStudent()
func (*ApiController) GetAccount ¶
func (c *ApiController) GetAccount()
func (*ApiController) GetFilteredReports ¶
func (c *ApiController) GetFilteredReports()
func (*ApiController) GetFilteredRounds ¶
func (c *ApiController) GetFilteredRounds()
func (*ApiController) GetFilteredStudents ¶
func (c *ApiController) GetFilteredStudents()
func (*ApiController) GetGithubUserByUsername ¶
func (c *ApiController) GetGithubUserByUsername()
func (*ApiController) GetIssue ¶
func (c *ApiController) GetIssue()
func (*ApiController) GetIssueByName ¶
func (c *ApiController) GetIssueByName()
func (*ApiController) GetMachine ¶
func (c *ApiController) GetMachine()
func (*ApiController) GetMachines ¶
func (c *ApiController) GetMachines()
func (*ApiController) GetProgram ¶
func (c *ApiController) GetProgram()
func (*ApiController) GetPrograms ¶
func (c *ApiController) GetPrograms()
func (*ApiController) GetProjectColumns ¶
func (c *ApiController) GetProjectColumns()
func (*ApiController) GetReport ¶
func (c *ApiController) GetReport()
func (*ApiController) GetReports ¶
func (c *ApiController) GetReports()
func (*ApiController) GetRepositoryByOrg ¶
func (c *ApiController) GetRepositoryByOrg()
func (*ApiController) GetRound ¶
func (c *ApiController) GetRound()
func (*ApiController) GetRounds ¶
func (c *ApiController) GetRounds()
func (*ApiController) GetSessionClaims ¶
func (c *ApiController) GetSessionClaims() *casdoorsdk.Claims
func (*ApiController) GetSessionUser ¶
func (c *ApiController) GetSessionUser() *casdoorsdk.User
func (*ApiController) GetStudent ¶
func (c *ApiController) GetStudent()
func (*ApiController) GetStudents ¶
func (c *ApiController) GetStudents()
func (*ApiController) GetUsers ¶
func (c *ApiController) GetUsers()
func (*ApiController) IsMainlandIp ¶
func (c *ApiController) IsMainlandIp()
func (*ApiController) RequireAdmin ¶
func (c *ApiController) RequireAdmin() bool
func (*ApiController) RequireSignedIn ¶
func (c *ApiController) RequireSignedIn() bool
func (*ApiController) ResponseError ¶
func (c *ApiController) ResponseError(error string, data ...interface{})
func (*ApiController) ResponseOk ¶
func (c *ApiController) ResponseOk(data ...interface{})
func (*ApiController) SetSessionClaims ¶
func (c *ApiController) SetSessionClaims(claims *casdoorsdk.Claims)
func (*ApiController) Signin ¶
func (c *ApiController) Signin()
func (*ApiController) Signout ¶
func (c *ApiController) Signout()
func (*ApiController) UpdateIssue ¶
func (c *ApiController) UpdateIssue()
func (*ApiController) UpdateMachine ¶
func (c *ApiController) UpdateMachine()
func (*ApiController) UpdateProgram ¶
func (c *ApiController) UpdateProgram()
func (*ApiController) UpdateReport ¶
func (c *ApiController) UpdateReport()
func (*ApiController) UpdateRound ¶
func (c *ApiController) UpdateRound()
func (*ApiController) UpdateStudent ¶
func (c *ApiController) UpdateStudent()
func (*ApiController) WebhookOpen ¶
func (c *ApiController) WebhookOpen()
Click to show internal directories.
Click to hide internal directories.