Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API represents the rest api handlers.
type Build ¶
type Build struct {
// contains filtered or unexported fields
}
Build represents the build api handlers.
func (Build) Get ¶
func (api Build) Get(c *gin.Context)
Get creates a new gin handler for the GET /build/:id endpoint
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
Job represents the job api handlers.
type Project ¶
type Project struct {
// contains filtered or unexported fields
}
Project represents the project api handlers.
func (Project) Builds ¶
func (api Project) Builds(c *gin.Context)
Builds creates a new gin handler for the GET /project/:id/builds endpoint
func (Project) Get ¶
func (api Project) Get(c *gin.Context)
Get creates a new gin handler for the GET /project/:id endpoint
func (Project) List ¶
func (api Project) List(c *gin.Context)
List creates a new gin handler for the GET /projects endpoint
func (Project) ListWithLatestBuild ¶ added in v0.6.0
func (api Project) ListWithLatestBuild(c *gin.Context)
ListWithLatestBuild lists the projects with the latest builds attached.
Click to show internal directories.
Click to hide internal directories.