api

package
v0.0.0-...-cf3502d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2016 License: MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrURL404 = errors.New("URL 404 error")
View Source
var LimitBuildInterval = time.Minute * 10

Functions

func AnonymousTriggerBuild

func AnonymousTriggerBuild(ctx *macaron.Context)

func RecentBuild

func RecentBuild(ctx *macaron.Context)

func RepoBuild

func RepoBuild(user *models.User, ctx *macaron.Context)

func RepoList

func RepoList(ctx *macaron.Context)

func TriggerBuild

func TriggerBuild(tokens oauth2.Tokens, ctx *macaron.Context)

func UserInfo

func UserInfo(user *models.User, ctx *macaron.Context)

func UserRepoList

func UserRepoList(user *models.User, ctx *macaron.Context)

Types

type RepositoryInfo

type RepositoryInfo struct {
	IsCgo bool
	IsCmd bool
}

func GetRepoInfo

func GetRepoInfo(owner, repo string) (*RepositoryInfo, error)

FIXME(ssx): not finished

Jump to

Keyboard shortcuts

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