Documentation
¶
Index ¶
- func BlockHandler() gin.HandlerFunc
- func Broker(c *gin.Context)
- func ChownRepo(c *gin.Context)
- func CmdlineHandler() gin.HandlerFunc
- func DeleteBuild(c *gin.Context)
- func DeleteGlobalSecret(c *gin.Context)
- func DeleteRepo(c *gin.Context)
- func DeleteSecret(c *gin.Context)
- func DeleteTeamSecret(c *gin.Context)
- func DeleteToken(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func EventStream(c *gin.Context)
- func GetAgents(c *gin.Context)
- func GetBadge(c *gin.Context)
- func GetBuild(c *gin.Context)
- func GetBuildLast(c *gin.Context)
- func GetBuildLogs(c *gin.Context)
- func GetBuildQueue(c *gin.Context)
- func GetBuilds(c *gin.Context)
- func GetCC(c *gin.Context)
- func GetCommit(c *gin.Context)
- func GetFeed(c *gin.Context)
- func GetGlobalSecrets(c *gin.Context)
- func GetLogin(c *gin.Context)
- func GetLoginToken(c *gin.Context)
- func GetLogout(c *gin.Context)
- func GetPullRequest(c *gin.Context)
- func GetRemoteRepos(c *gin.Context)
- func GetRepo(c *gin.Context)
- func GetRepos(c *gin.Context)
- func GetSecrets(c *gin.Context)
- func GetSelf(c *gin.Context)
- func GetTeamSecrets(c *gin.Context)
- func GetUser(c *gin.Context)
- func GetUsers(c *gin.Context)
- func GoroutineHandler() gin.HandlerFunc
- func HandleUpdate(c context.Context, message *stomp.Message)
- func HeapHandler() gin.HandlerFunc
- func IndexHandler() gin.HandlerFunc
- func LogStream(c *gin.Context)
- func PatchRepo(c *gin.Context)
- func PatchUser(c *gin.Context)
- func PostBuild(c *gin.Context)
- func PostGlobalSecret(c *gin.Context)
- func PostHook(c *gin.Context)
- func PostRepo(c *gin.Context)
- func PostSecret(c *gin.Context)
- func PostTeamSecret(c *gin.Context)
- func PostToken(c *gin.Context)
- func PostUser(c *gin.Context)
- func ProfileHandler() gin.HandlerFunc
- func RedirectPullRequest(c *gin.Context)
- func RedirectSha(c *gin.Context)
- func ShowIndex(c *gin.Context)
- func ShowLogin(c *gin.Context)
- func ShowLoginForm(c *gin.Context)
- func Sign(c *gin.Context)
- func Slack(c *gin.Context)
- func SymbolHandler() gin.HandlerFunc
- func ThreadCreateHandler() gin.HandlerFunc
- func ToConfig(c *gin.Context) *model.Config
- func TraceHandler() gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockHandler ¶ added in v0.5.0
func BlockHandler() gin.HandlerFunc
BlockHandler will pass the call from /debug/pprof/block to pprof
func CmdlineHandler ¶ added in v0.5.0
func CmdlineHandler() gin.HandlerFunc
CmdlineHandler will pass the call from /debug/pprof/cmdline to pprof
func DeleteBuild ¶ added in v0.5.0
func DeleteGlobalSecret ¶ added in v0.5.0
func DeleteRepo ¶ added in v0.5.0
func DeleteSecret ¶ added in v0.5.0
func DeleteTeamSecret ¶ added in v0.5.0
func DeleteToken ¶ added in v0.5.0
func DeleteUser ¶ added in v0.5.0
func EventStream ¶ added in v0.5.0
EventStream produces the User event stream, sending all repository, build and agent events to the client.
func GetBuildLast ¶ added in v0.5.0
func GetBuildLogs ¶ added in v0.5.0
func GetBuildQueue ¶ added in v0.5.0
func GetGlobalSecrets ¶ added in v0.5.0
func GetLoginToken ¶ added in v0.5.0
func GetPullRequest ¶ added in v0.5.0
func GetRemoteRepos ¶ added in v0.5.0
func GetSecrets ¶ added in v0.5.0
func GetTeamSecrets ¶ added in v0.5.0
func GoroutineHandler ¶ added in v0.5.0
func GoroutineHandler() gin.HandlerFunc
GoroutineHandler will pass the call from /debug/pprof/goroutine to pprof
func HandleUpdate ¶ added in v0.5.0
HandleUpdate handles build updates from the agent and persists to the database.
func HeapHandler ¶ added in v0.5.0
func HeapHandler() gin.HandlerFunc
HeapHandler will pass the call from /debug/pprof/heap to pprof
func IndexHandler ¶ added in v0.5.0
func IndexHandler() gin.HandlerFunc
IndexHandler will pass the call from /debug/pprof to pprof
func PostGlobalSecret ¶ added in v0.5.0
func PostSecret ¶ added in v0.5.0
func PostTeamSecret ¶ added in v0.5.0
func ProfileHandler ¶ added in v0.5.0
func ProfileHandler() gin.HandlerFunc
ProfileHandler will pass the call from /debug/pprof/profile to pprof
func RedirectPullRequest ¶ added in v0.5.0
func RedirectSha ¶ added in v0.5.0
func ShowLogin ¶ added in v0.5.0
ShowLogin is a legacy endpoint that now redirects to initiliaze the oauth flow
func ShowLoginForm ¶ added in v0.5.0
ShowLoginForm displays a login form for systems like Gogs that do not yet support oauth workflows.
func SymbolHandler ¶ added in v0.5.0
func SymbolHandler() gin.HandlerFunc
SymbolHandler will pass the call from /debug/pprof/symbol to pprof
func ThreadCreateHandler ¶ added in v0.5.0
func ThreadCreateHandler() gin.HandlerFunc
ThreadCreateHandler will pass the call from /debug/pprof/threadcreate to pprof
func TraceHandler ¶ added in v0.5.0
func TraceHandler() gin.HandlerFunc
TraceHandler will pass the call from /debug/pprof/trace to pprof
Types ¶
This section is empty.