Versions in this module Expand all Collapse all v0 v0.2.1 Oct 7, 2014 Changes in this version + func BuildStatus(w http.ResponseWriter, r *http.Request, repo *Repo) error + func LinkBitbucket(w http.ResponseWriter, r *http.Request, u *User) error + func RepoAddBitbucket(w http.ResponseWriter, r *http.Request, u *User) error + func RepoAddGithub(w http.ResponseWriter, r *http.Request, u *User) error + func RepoCreateBitbucket(w http.ResponseWriter, r *http.Request, u *User) error + type BitbucketHandler struct + func NewBitbucketHandler(queue *queue.Queue) *BitbucketHandler + func (h *BitbucketHandler) Hook(w http.ResponseWriter, r *http.Request) error + type BuildResult struct + Status string + type CommitRebuildHandler struct + func NewCommitRebuildHandler(queue *queue.Queue) *CommitRebuildHandler + func (h *CommitRebuildHandler) CommitRebuild(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + type GithubHandler struct + func NewGithubHandler(queue *queue.Queue) *GithubHandler + func (h *GithubHandler) Hook(w http.ResponseWriter, r *http.Request) error + func (h *GithubHandler) PullRequestHook(w http.ResponseWriter, r *http.Request) + type GitlabHandler struct + func NewGitlabHandler(queue *queue.Queue) *GitlabHandler + func (g *GitlabHandler) Add(w http.ResponseWriter, r *http.Request, u *User) error + func (g *GitlabHandler) Create(w http.ResponseWriter, r *http.Request, u *User) error + func (g *GitlabHandler) Hook(w http.ResponseWriter, r *http.Request) error + func (g *GitlabHandler) Link(w http.ResponseWriter, r *http.Request, u *User) error + func (g *GitlabHandler) PullRequestHook(p *gogitlab.HookPayload, repo *Repo, user *User) error + func (g *GitlabHandler) ReLink(w http.ResponseWriter, r *http.Request, u *User) error + type PublicHandler func(w http.ResponseWriter, r *http.Request, repo *Repo) error + func (h PublicHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) v0.2.0 Mar 12, 2014 Changes in this version + func AdminSettings(w http.ResponseWriter, r *http.Request, u *User) error + func AdminSettingsUpdate(w http.ResponseWriter, r *http.Request, u *User) error + func AdminUserAdd(w http.ResponseWriter, r *http.Request, u *User) error + func AdminUserDelete(w http.ResponseWriter, r *http.Request, u *User) error + func AdminUserEdit(w http.ResponseWriter, r *http.Request, u *User) error + func AdminUserInvite(w http.ResponseWriter, r *http.Request, u *User) error + func AdminUserList(w http.ResponseWriter, r *http.Request, u *User) error + func AdminUserUpdate(w http.ResponseWriter, r *http.Request, u *User) error + func Authorize(w http.ResponseWriter, r *http.Request) error + func Badge(w http.ResponseWriter, r *http.Request) error + func BuildOut(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + func BuildOutGzip(w http.ResponseWriter, r *http.Request, u *User) error + func CommitShow(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + func DelCookie(w http.ResponseWriter, r *http.Request, name string) + func Forgot(w http.ResponseWriter, r *http.Request) error + func ForgotPost(w http.ResponseWriter, r *http.Request) error + func GetCookie(r *http.Request, name string) string + func Index(w http.ResponseWriter, r *http.Request) error + func Install(w http.ResponseWriter, r *http.Request) error + func InstallPost(w http.ResponseWriter, r *http.Request) error + func IsHttps(r *http.Request) bool + func LinkGithub(w http.ResponseWriter, r *http.Request, u *User) error + func Login(w http.ResponseWriter, r *http.Request) error + func Logout(w http.ResponseWriter, r *http.Request) error + func Register(w http.ResponseWriter, r *http.Request) error + func RegisterPost(w http.ResponseWriter, r *http.Request) error + func RenderError(w http.ResponseWriter, err error, code int) error + func RenderForbidden(w http.ResponseWriter) error + func RenderJson(w http.ResponseWriter, data interface{}) error + func RenderNotFound(w http.ResponseWriter) error + func RenderTemplate(w http.ResponseWriter, name string, data interface{}) error + func RenderText(w http.ResponseWriter, text string, code int) error + func RepoAdd(w http.ResponseWriter, r *http.Request, u *User) error + func RepoBadges(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + func RepoCreateGithub(w http.ResponseWriter, r *http.Request, u *User) error + func RepoDashboard(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + func RepoDelete(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + func RepoDeleteForm(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + func RepoKeys(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + func RepoParamsForm(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + func RepoSettingsForm(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + func RepoUpdate(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error + func Reset(w http.ResponseWriter, r *http.Request) error + func ResetPost(w http.ResponseWriter, r *http.Request) error + func SetCookie(w http.ResponseWriter, r *http.Request, name, value string) + func SignUp(w http.ResponseWriter, r *http.Request) error + func SignUpPost(w http.ResponseWriter, r *http.Request) error + func TeamAdd(w http.ResponseWriter, r *http.Request, u *User) error + func TeamCreate(w http.ResponseWriter, r *http.Request, u *User) error + func TeamDelete(w http.ResponseWriter, r *http.Request, u *User) error + func TeamDeleteConfirm(w http.ResponseWriter, r *http.Request, u *User) error + func TeamEdit(w http.ResponseWriter, r *http.Request, u *User) error + func TeamMemberAccept(w http.ResponseWriter, r *http.Request, u *User) error + func TeamMemberAdd(w http.ResponseWriter, r *http.Request, u *User) error + func TeamMemberDelete(w http.ResponseWriter, r *http.Request, u *User) error + func TeamMemberEdit(w http.ResponseWriter, r *http.Request, u *User) error + func TeamMemberInvite(w http.ResponseWriter, r *http.Request, u *User) error + func TeamMemberUpdate(w http.ResponseWriter, r *http.Request, u *User) error + func TeamMembers(w http.ResponseWriter, r *http.Request, u *User) error + func TeamShow(w http.ResponseWriter, r *http.Request, u *User) error + func TeamUpdate(w http.ResponseWriter, r *http.Request, u *User) error + func UserDelete(w http.ResponseWriter, r *http.Request, u *User) error + func UserDeleteConfirm(w http.ResponseWriter, r *http.Request, u *User) error + func UserEdit(w http.ResponseWriter, r *http.Request, u *User) error + func UserInvite(w http.ResponseWriter, r *http.Request) error + func UserPass(w http.ResponseWriter, r *http.Request, u *User) error + func UserPassUpdate(w http.ResponseWriter, r *http.Request, u *User) error + func UserShow(w http.ResponseWriter, r *http.Request, u *User) error + func UserTeams(w http.ResponseWriter, r *http.Request, u *User) error + func UserUpdate(w http.ResponseWriter, r *http.Request, u *User) error + type AdminHandler func(w http.ResponseWriter, r *http.Request, user *User) error + func (h AdminHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type ErrorHandler func(w http.ResponseWriter, r *http.Request) error + func (h ErrorHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type HookHandler struct + func NewHookHandler(queue *queue.Queue) *HookHandler + func (h *HookHandler) Hook(w http.ResponseWriter, r *http.Request) error + func (h *HookHandler) PullRequestHook(w http.ResponseWriter, r *http.Request) + type RepoAdminHandler func(w http.ResponseWriter, r *http.Request, user *User, repo *Repo) error + func (h RepoAdminHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type RepoHandler func(w http.ResponseWriter, r *http.Request, user *User, repo *Repo) error + func (h RepoHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type UserHandler func(w http.ResponseWriter, r *http.Request, user *User) error + func (h UserHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)