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 SigningKey(ctx *context.APIContext)
- func Version(ctx *context.APIContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGitignoreTemplateInfo ¶ added in v1.20.0
func GetGitignoreTemplateInfo(ctx *context.APIContext)
SHows information about a gitignore template
func GetLabelTemplate ¶ added in v1.20.0
func GetLabelTemplate(ctx *context.APIContext)
Shows all labels in a template
func GetLicenseTemplateInfo ¶ added in v1.20.0
func GetLicenseTemplateInfo(ctx *context.APIContext)
Returns information about a gitignore template
func ListGitignoresTemplates ¶ added in v1.20.0
func ListGitignoresTemplates(ctx *context.APIContext)
Shows a list of all Gitignore templates
func ListLabelTemplates ¶ added in v1.20.0
func ListLabelTemplates(ctx *context.APIContext)
Shows a list of all Label templates
func ListLicenseTemplates ¶ added in v1.20.0
func ListLicenseTemplates(ctx *context.APIContext)
Returns a list of all License templates
func Markup ¶ added in v1.20.0
func Markup(ctx *context.APIContext)
Markup render markup document to HTML
func NodeInfo ¶ added in v1.16.0
func NodeInfo(ctx *context.APIContext)
NodeInfo returns the NodeInfo for the Gitea instance to allow for federation
func SigningKey ¶ added in v1.11.0
func SigningKey(ctx *context.APIContext)
SigningKey returns the public key of the default signing key if it exists
func Version ¶ added in v1.1.0
func Version(ctx *context.APIContext)
Version shows the version of the Gitea server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.