Documentation
¶
Index ¶
- func GetGitignoreTemplateInfo(ctx *context.APIContext)
- func GetLabelTemplate(ctx *context.APIContext)
- func GetLicenseTemplateInfo(ctx *context.APIContext)
- func ListGitignoresTemplates(ctx *context.APIContext)
- func ListLabelTemplates(ctx *context.APIContext)
- func ListLicenseTemplates(ctx *context.APIContext)
- func Markdown(ctx *context.APIContext)
- func MarkdownRaw(ctx *context.APIContext)
- func Markup(ctx *context.APIContext)
- func NodeInfo(ctx *context.APIContext)
- func SigningKeyGPG(ctx *context.APIContext)
- func SigningKeySSH(ctx *context.APIContext)
- func Version(ctx *context.APIContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGitignoreTemplateInfo ¶
func GetGitignoreTemplateInfo(ctx *context.APIContext)
SHows information about a gitignore template
func GetLabelTemplate ¶
func GetLabelTemplate(ctx *context.APIContext)
Shows all labels in a template
func GetLicenseTemplateInfo ¶
func GetLicenseTemplateInfo(ctx *context.APIContext)
func ListGitignoresTemplates ¶
func ListGitignoresTemplates(ctx *context.APIContext)
Shows a list of all Gitignore templates
func ListLabelTemplates ¶
func ListLabelTemplates(ctx *context.APIContext)
Shows a list of all Label templates
func ListLicenseTemplates ¶
func ListLicenseTemplates(ctx *context.APIContext)
Returns a list of all License templates
func NodeInfo ¶
func NodeInfo(ctx *context.APIContext)
NodeInfo returns the NodeInfo for the Gitea instance to allow for federation
func SigningKeyGPG ¶
func SigningKeyGPG(ctx *context.APIContext)
SigningKeyGPG returns the public key of the default signing key if it exists
func SigningKeySSH ¶
func SigningKeySSH(ctx *context.APIContext)
SigningKeySSH returns the public key of the default signing key if it exists
Types ¶
This section is empty.
Source Files
¶
- gitignore.go
- label_templates.go
- licenses.go
- markup.go
- nodeinfo.go
- signing.go
- version.go
Click to show internal directories.
Click to hide internal directories.