Help us shape the future of Go! Take the 2026 Go Developer Survey

api

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2016 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package classification Drone API.

Schemes: http, https
BasePath: /api
Version: 1.0.0

Consumes:
- application/json

Produces:
- application/json

swagger:meta

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteBuild

func DeleteBuild(c *gin.Context)

func DeleteNode

func DeleteNode(c *gin.Context)

func DeleteRepo

func DeleteRepo(c *gin.Context)

func DeleteSecret

func DeleteSecret(c *gin.Context)

func DeleteToken

func DeleteToken(c *gin.Context)

func DeleteUser

func DeleteUser(c *gin.Context)

swagger:route DELETE /users/{login} user deleteUserLogin

Delete the user with the matching login.

Responses:
  200: user

func GetBuild

func GetBuild(c *gin.Context)

func GetBuildLast

func GetBuildLast(c *gin.Context)

func GetBuildLogs

func GetBuildLogs(c *gin.Context)

func GetBuilds

func GetBuilds(c *gin.Context)

func GetFeed

func GetFeed(c *gin.Context)

swagger:route GET /user/feed user getUserFeed

Get the currently authenticated user's build feed.

Responses:
  200: feed

func GetNode

func GetNode(c *gin.Context)

func GetNodes

func GetNodes(c *gin.Context)

func GetRemoteRepos

func GetRemoteRepos(c *gin.Context)

func GetRepo

func GetRepo(c *gin.Context)

func GetRepoKey

func GetRepoKey(c *gin.Context)

func GetRepos

func GetRepos(c *gin.Context)

swagger:route GET /user/repos user getUserRepos

Get the currently authenticated user's active repository list.

Responses:
  200: repos

func GetSelf

func GetSelf(c *gin.Context)

swagger:route GET /user user getUser

Get the currently authenticated user.

Responses:
  200: user

func GetUser

func GetUser(c *gin.Context)

swagger:route GET /users/{login} user getUserLogin

Get the user with the matching login.

Responses:
  200: user

func GetUsers

func GetUsers(c *gin.Context)

swagger:route GET /users user getUserList

Get the list of all registered users.

Responses:
  200: user

func PatchRepo

func PatchRepo(c *gin.Context)

func PatchUser

func PatchUser(c *gin.Context)

func PostBuild

func PostBuild(c *gin.Context)

func PostNode

func PostNode(c *gin.Context)

func PostReactivate

func PostReactivate(c *gin.Context)

func PostRepo

func PostRepo(c *gin.Context)

func PostRepoKey

func PostRepoKey(c *gin.Context)

func PostSecret

func PostSecret(c *gin.Context)

func PostSecure

func PostSecure(c *gin.Context)

func PostToken

func PostToken(c *gin.Context)

func PostUser

func PostUser(c *gin.Context)

func Pull

func Pull(c *gin.Context)

Pull is a long request that polls and attemts to pull work off the queue stack.

func Sign

func Sign(c *gin.Context)

func Stream

func Stream(c *gin.Context)

Stream streams the logs to disk or memory for broadcasing to listeners. Once the stream is closed it is moved to permanent storage in the database.

func Update

func Update(c *gin.Context)

Update handles build updates from the agent and persists to the database.

func Wait

func Wait(c *gin.Context)

Wait is a long request that polls and waits for cancelled build requests.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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