server

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2017 License: Apache-2.0 Imports: 27 Imported by: 59

Documentation

Index

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 Broker added in v0.5.0

func Broker(c *gin.Context)

Broker handles connections to the embedded message broker.

func ChownRepo added in v0.5.0

func ChownRepo(c *gin.Context)

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 DeleteBuild(c *gin.Context)

func DeleteGlobalSecret added in v0.5.0

func DeleteGlobalSecret(c *gin.Context)

func DeleteRepo added in v0.5.0

func DeleteRepo(c *gin.Context)

func DeleteSecret added in v0.5.0

func DeleteSecret(c *gin.Context)

func DeleteTeamSecret added in v0.5.0

func DeleteTeamSecret(c *gin.Context)

func DeleteToken added in v0.5.0

func DeleteToken(c *gin.Context)

func DeleteUser added in v0.5.0

func DeleteUser(c *gin.Context)

func EventStream added in v0.5.0

func EventStream(c *gin.Context)

EventStream produces the User event stream, sending all repository, build and agent events to the client.

func GetAgents added in v0.5.0

func GetAgents(c *gin.Context)

func GetBadge added in v0.5.0

func GetBadge(c *gin.Context)

func GetBuild added in v0.5.0

func GetBuild(c *gin.Context)

func GetBuildLast added in v0.5.0

func GetBuildLast(c *gin.Context)

func GetBuildLogs added in v0.5.0

func GetBuildLogs(c *gin.Context)

func GetBuildQueue added in v0.5.0

func GetBuildQueue(c *gin.Context)

func GetBuilds added in v0.5.0

func GetBuilds(c *gin.Context)

func GetCC added in v0.5.0

func GetCC(c *gin.Context)

func GetCommit added in v0.5.0

func GetCommit(c *gin.Context)

func GetFeed added in v0.5.0

func GetFeed(c *gin.Context)

func GetGlobalSecrets added in v0.5.0

func GetGlobalSecrets(c *gin.Context)

func GetLogin added in v0.5.0

func GetLogin(c *gin.Context)

func GetLoginToken added in v0.5.0

func GetLoginToken(c *gin.Context)

func GetLogout added in v0.5.0

func GetLogout(c *gin.Context)

func GetPullRequest added in v0.5.0

func GetPullRequest(c *gin.Context)

func GetRemoteRepos added in v0.5.0

func GetRemoteRepos(c *gin.Context)

func GetRepo added in v0.5.0

func GetRepo(c *gin.Context)

func GetRepos added in v0.5.0

func GetRepos(c *gin.Context)

func GetSecrets added in v0.5.0

func GetSecrets(c *gin.Context)

func GetSelf added in v0.5.0

func GetSelf(c *gin.Context)

func GetTeamSecrets added in v0.5.0

func GetTeamSecrets(c *gin.Context)

func GetUser added in v0.5.0

func GetUser(c *gin.Context)

func GetUsers added in v0.5.0

func GetUsers(c *gin.Context)

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

func HandleUpdate(c context.Context, message *stomp.Message)

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 LogStream added in v0.5.0

func LogStream(c *gin.Context)

LogStream streams the build log output to the client.

func PatchRepo added in v0.5.0

func PatchRepo(c *gin.Context)

func PatchUser added in v0.5.0

func PatchUser(c *gin.Context)

func PostBuild added in v0.5.0

func PostBuild(c *gin.Context)

func PostGlobalSecret added in v0.5.0

func PostGlobalSecret(c *gin.Context)

func PostHook added in v0.5.0

func PostHook(c *gin.Context)

func PostRepo added in v0.5.0

func PostRepo(c *gin.Context)

func PostSecret added in v0.5.0

func PostSecret(c *gin.Context)

func PostTeamSecret added in v0.5.0

func PostTeamSecret(c *gin.Context)

func PostToken added in v0.5.0

func PostToken(c *gin.Context)

func PostUser added in v0.5.0

func PostUser(c *gin.Context)

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 RedirectPullRequest(c *gin.Context)

func RedirectSha added in v0.5.0

func RedirectSha(c *gin.Context)

func ShowIndex added in v0.5.0

func ShowIndex(c *gin.Context)

ShowIndex serves the main Drone application page.

func ShowLogin added in v0.5.0

func ShowLogin(c *gin.Context)

ShowLogin is a legacy endpoint that now redirects to initiliaze the oauth flow

func ShowLoginForm added in v0.5.0

func ShowLoginForm(c *gin.Context)

ShowLoginForm displays a login form for systems like Gogs that do not yet support oauth workflows.

func Sign added in v0.5.0

func Sign(c *gin.Context)

func Slack added in v0.5.0

func Slack(c *gin.Context)

Slack is handler function that handles Slack slash commands.

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 ToConfig added in v0.5.0

func ToConfig(c *gin.Context) *model.Config

ToConfig returns the config from the Context

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.

Directories

Path Synopsis
Package classification Drone API.
Package classification Drone API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL