Documentation ¶
Index ¶
- func AddTeamPost(ctx *context.Context)
- func ChangeCollaborationAccessMode(ctx *context.Context)
- func Collaboration(ctx *context.Context)
- func CollaborationPost(ctx *context.Context)
- func DeleteCollaboration(ctx *context.Context)
- func DeleteDeployKey(ctx *context.Context)
- func DeleteProtectedBranchRulePost(ctx *context.Context)
- func DeleteProtectedTagPost(ctx *context.Context)
- func DeleteTeam(ctx *context.Context)
- func DeleteWebhook(ctx *context.Context)
- func DeployKeys(ctx *context.Context)
- func DeployKeysPost(ctx *context.Context)
- func DingtalkHooksEditPost(ctx *context.Context)
- func DingtalkHooksNewPost(ctx *context.Context)
- func DiscordHooksEditPost(ctx *context.Context)
- func DiscordHooksNewPost(ctx *context.Context)
- func EditProtectedTag(ctx *context.Context)
- func EditProtectedTagPost(ctx *context.Context)
- func FeishuHooksEditPost(ctx *context.Context)
- func FeishuHooksNewPost(ctx *context.Context)
- func GitHooks(ctx *context.Context)
- func GitHooksEdit(ctx *context.Context)
- func GitHooksEditPost(ctx *context.Context)
- func GiteaHooksEditPost(ctx *context.Context)
- func GiteaHooksNewPost(ctx *context.Context)
- func GogsHooksEditPost(ctx *context.Context)
- func GogsHooksNewPost(ctx *context.Context)
- func LFSAutoAssociate(ctx *context.Context)
- func LFSDelete(ctx *context.Context)
- func LFSFileFind(ctx *context.Context)
- func LFSFileGet(ctx *context.Context)
- func LFSFiles(ctx *context.Context)
- func LFSLockFile(ctx *context.Context)
- func LFSLocks(ctx *context.Context)
- func LFSPointerFiles(ctx *context.Context)
- func LFSUnlock(ctx *context.Context)
- func MSTeamsHooksEditPost(ctx *context.Context)
- func MSTeamsHooksNewPost(ctx *context.Context)
- func MatrixHooksEditPost(ctx *context.Context)
- func MatrixHooksNewPost(ctx *context.Context)
- func NewProtectedTagPost(ctx *context.Context)
- func PackagistHooksEditPost(ctx *context.Context)
- func PackagistHooksNewPost(ctx *context.Context)
- func ParseHookEvent(form forms.WebhookForm) *webhook_module.HookEvent
- func ProtectedBranchRules(ctx *context.Context)
- func ProtectedTags(ctx *context.Context)
- func RedirectToDefaultSetting(ctx *context.Context)
- func RenameBranchPost(ctx *context.Context)
- func ReplayWebhook(ctx *context.Context)
- func ResetRunnerRegistrationToken(ctx *context.Context)
- func RunnerDeletePost(ctx *context.Context)
- func Runners(ctx *context.Context)
- func RunnersEdit(ctx *context.Context)
- func RunnersEditPost(ctx *context.Context)
- func Secrets(ctx *context.Context)
- func SecretsDelete(ctx *context.Context)
- func SecretsPost(ctx *context.Context)
- func SetDefaultBranchPost(ctx *context.Context)
- func Settings(ctx *context.Context)
- func SettingsAvatar(ctx *context.Context)
- func SettingsCtxData(ctx *context.Context)
- func SettingsDeleteAvatar(ctx *context.Context)
- func SettingsPost(ctx *context.Context)
- func SettingsProtectedBranch(c *context.Context)
- func SettingsProtectedBranchPost(ctx *context.Context)
- func SlackHooksEditPost(ctx *context.Context)
- func SlackHooksNewPost(ctx *context.Context)
- func TelegramHooksEditPost(ctx *context.Context)
- func TelegramHooksNewPost(ctx *context.Context)
- func TestWebhook(ctx *context.Context)
- func UpdateAvatarSetting(ctx *context.Context, form forms.AvatarForm) error
- func VariableCreate(ctx *context.Context)
- func VariableDelete(ctx *context.Context)
- func VariableUpdate(ctx *context.Context)
- func Variables(ctx *context.Context)
- func WebHooksEdit(ctx *context.Context)
- func Webhooks(ctx *context.Context)
- func WebhooksNew(ctx *context.Context)
- func WechatworkHooksEditPost(ctx *context.Context)
- func WechatworkHooksNewPost(ctx *context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTeamPost ¶ added in v1.21.0
AddTeamPost response for adding a team to a repository
func ChangeCollaborationAccessMode ¶ added in v1.21.0
ChangeCollaborationAccessMode response for changing access of a collaboration
func Collaboration ¶ added in v1.21.0
Collaboration render a repository's collaboration page
func CollaborationPost ¶ added in v1.21.0
CollaborationPost response for actions for a collaboration of a repository
func DeleteCollaboration ¶ added in v1.21.0
DeleteCollaboration delete a collaboration for a repository
func DeleteDeployKey ¶ added in v1.21.0
DeleteDeployKey response for deleting a deploy key
func DeleteProtectedBranchRulePost ¶ added in v1.21.0
DeleteProtectedBranchRulePost delete protected branch rule by id
func DeleteProtectedTagPost ¶ added in v1.21.0
DeleteProtectedTagPost handles deletion of a protected tag
func DeleteTeam ¶ added in v1.21.0
DeleteTeam response for deleting a team from a repository
func DeleteWebhook ¶ added in v1.21.0
DeleteWebhook delete a webhook
func DeployKeys ¶ added in v1.21.0
DeployKeys render the deploy keys list of a repository page
func DeployKeysPost ¶ added in v1.21.0
DeployKeysPost response for adding a deploy key of a repository
func DingtalkHooksEditPost ¶ added in v1.21.0
DingtalkHooksEditPost response for editing Dingtalk webhook
func DingtalkHooksNewPost ¶ added in v1.21.0
DingtalkHooksNewPost response for creating Dingtalk webhook
func DiscordHooksEditPost ¶ added in v1.21.0
DiscordHooksEditPost response for editing Discord webhook
func DiscordHooksNewPost ¶ added in v1.21.0
DiscordHooksNewPost response for creating Discord webhook
func EditProtectedTag ¶ added in v1.21.0
EditProtectedTag render the page to edit a protect tag
func EditProtectedTagPost ¶ added in v1.21.0
EditProtectedTagPost handles creation of a protect tag
func FeishuHooksEditPost ¶ added in v1.21.0
FeishuHooksEditPost response for editing Feishu webhook
func FeishuHooksNewPost ¶ added in v1.21.0
FeishuHooksNewPost response for creating Feishu webhook
func GitHooksEdit ¶ added in v1.21.0
GitHooksEdit render for editing a hook of repository page
func GitHooksEditPost ¶ added in v1.21.0
GitHooksEditPost response for editing a git hook of a repository
func GiteaHooksEditPost ¶ added in v1.21.0
GiteaHooksEditPost response for editing Gitea webhook
func GiteaHooksNewPost ¶ added in v1.21.0
GiteaHooksNewPost response for creating Gitea webhook
func GogsHooksEditPost ¶ added in v1.21.0
GogsHooksEditPost response for editing Gogs webhook
func GogsHooksNewPost ¶ added in v1.21.0
GogsHooksNewPost response for creating Gogs webhook
func LFSAutoAssociate ¶ added in v1.21.0
LFSAutoAssociate auto associates accessible lfs files
func LFSDelete ¶ added in v1.21.0
LFSDelete disassociates the provided oid from the repository and if the lfs file is no longer associated with any repositories - deletes it
func LFSFileFind ¶ added in v1.21.0
LFSFileFind guesses a sha for the provided oid (or uses the provided sha) and then finds the commits that contain this sha
func LFSFileGet ¶ added in v1.21.0
LFSFileGet serves a single LFS file
func LFSPointerFiles ¶ added in v1.21.0
LFSPointerFiles will search the repository for pointer files and report which are missing LFS files in the content store
func MSTeamsHooksEditPost ¶ added in v1.21.0
MSTeamsHooksEditPost response for editing MSTeams webhook
func MSTeamsHooksNewPost ¶ added in v1.21.0
MSTeamsHooksNewPost response for creating MSTeams webhook
func MatrixHooksEditPost ¶ added in v1.21.0
MatrixHooksEditPost response for editing Matrix webhook
func MatrixHooksNewPost ¶ added in v1.21.0
MatrixHooksNewPost response for creating Matrix webhook
func NewProtectedTagPost ¶ added in v1.21.0
NewProtectedTagPost handles creation of a protect tag
func PackagistHooksEditPost ¶ added in v1.21.0
PackagistHooksEditPost response for editing Packagist webhook
func PackagistHooksNewPost ¶ added in v1.21.0
PackagistHooksNewPost response for creating Packagist webhook
func ParseHookEvent ¶ added in v1.21.0
func ParseHookEvent(form forms.WebhookForm) *webhook_module.HookEvent
ParseHookEvent convert web form content to webhook.HookEvent
func ProtectedBranchRules ¶ added in v1.21.0
ProtectedBranchRules render the page to protect the repository
func ProtectedTags ¶ added in v1.21.0
Tags render the page to protect tags
func RenameBranchPost ¶ added in v1.21.0
RenameBranchPost responses for rename a branch
func ReplayWebhook ¶ added in v1.21.0
ReplayWebhook replays a webhook
func RunnerDeletePost ¶
RunnerDeletePost response for deleting runner
func RunnersEdit ¶
RunnersEdit renders runner edit page for repository level
func RunnersEditPost ¶
func SecretsDelete ¶
func SecretsPost ¶
func SetDefaultBranchPost ¶ added in v1.21.0
SetDefaultBranchPost set default branch
func SettingsAvatar ¶ added in v1.21.0
SettingsAvatar save new POSTed repository avatar
func SettingsCtxData ¶ added in v1.21.0
SettingsCtxData is a middleware that sets all the general context data for the settings template.
func SettingsDeleteAvatar ¶ added in v1.21.0
SettingsDeleteAvatar delete repository avatar
func SettingsPost ¶ added in v1.21.0
SettingsPost response for changes of a repository
func SettingsProtectedBranch ¶ added in v1.21.0
SettingsProtectedBranch renders the protected branch setting page
func SettingsProtectedBranchPost ¶ added in v1.21.0
SettingsProtectedBranchPost updates the protected branch settings
func SlackHooksEditPost ¶ added in v1.21.0
SlackHooksEditPost response for editing Slack webhook
func SlackHooksNewPost ¶ added in v1.21.0
SlackHooksNewPost response for creating Slack webhook
func TelegramHooksEditPost ¶ added in v1.21.0
TelegramHooksEditPost response for editing Telegram webhook
func TelegramHooksNewPost ¶ added in v1.21.0
TelegramHooksNewPost response for creating Telegram webhook
func TestWebhook ¶ added in v1.21.0
TestWebhook test if web hook is work fine
func UpdateAvatarSetting ¶ added in v1.21.0
func UpdateAvatarSetting(ctx *context.Context, form forms.AvatarForm) error
UpdateAvatarSetting update repo's avatar
func VariableCreate ¶ added in v1.21.0
func VariableDelete ¶ added in v1.21.0
func VariableUpdate ¶ added in v1.21.0
func WebHooksEdit ¶ added in v1.21.0
WebHooksEdit render editing web hook page
func WebhooksNew ¶ added in v1.21.0
WebhooksNew render creating webhook page
func WechatworkHooksEditPost ¶ added in v1.21.0
WechatworkHooksEditPost response for editing Wechatwork webhook
func WechatworkHooksNewPost ¶ added in v1.21.0
WechatworkHooksNewPost response for creating Wechatwork webhook
Types ¶
This section is empty.