gitea: code.gitea.io/gitea/routers/private Index | Files

package private

import "code.gitea.io/gitea/routers/private"

Package private includes all internal routes. The package name internal is ideal but Golang is not allowed, so we use private as package name instead.

Package private includes all internal routes. The package name internal is ideal but Golang is not allowed, so we use private as package name instead.

Package private includes all internal routes. The package name internal is ideal but Golang is not allowed, so we use private as package name instead.

Package private includes all internal routes. The package name internal is ideal but Golang is not allowed, so we use private as package name instead.

Index

Package Files

hook.go internal.go key.go push_update.go serv.go

func CheckInternalToken Uses

func CheckInternalToken(ctx *macaron.Context)

CheckInternalToken check internal token is set

func CheckUnitUser Uses

func CheckUnitUser(ctx *macaron.Context)

CheckUnitUser chainload to models.CheckUnitUser

func GetRepositoryByOwnerAndName Uses

func GetRepositoryByOwnerAndName(ctx *macaron.Context)

GetRepositoryByOwnerAndName chainload to models.GetRepositoryByOwnerAndName

func HookPostReceive Uses

func HookPostReceive(ctx *macaron.Context)

HookPostReceive updates services and users

func HookPreReceive Uses

func HookPreReceive(ctx *macaron.Context)

HookPreReceive checks whether a individual commit is acceptable

func PushUpdate Uses

func PushUpdate(ctx *macaron.Context)

PushUpdate update public key updates

func RegisterRoutes Uses

func RegisterRoutes(m *macaron.Macaron)

RegisterRoutes registers all internal APIs routes to web application. These APIs will be invoked by internal commands for example `gitea serv` and etc.

func ServCommand Uses

func ServCommand(ctx *macaron.Context)

ServCommand returns information about the provided keyid

func ServNoCommand Uses

func ServNoCommand(ctx *macaron.Context)

ServNoCommand returns information about the provided keyid

func UpdatePublicKeyInRepo Uses

func UpdatePublicKeyInRepo(ctx *macaron.Context)

UpdatePublicKeyInRepo update public key and deploy key updates

Package private imports 13 packages (graph) and is imported by 2 packages. Updated 2019-07-05. Refresh now. Tools for package owners.