setting

package
v1.21.11 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 60 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTeamPost added in v1.21.0

func AddTeamPost(ctx *context.Context)

AddTeamPost response for adding a team to a repository

func ChangeCollaborationAccessMode added in v1.21.0

func ChangeCollaborationAccessMode(ctx *context.Context)

ChangeCollaborationAccessMode response for changing access of a collaboration

func Collaboration added in v1.21.0

func Collaboration(ctx *context.Context)

Collaboration render a repository's collaboration page

func CollaborationPost added in v1.21.0

func CollaborationPost(ctx *context.Context)

CollaborationPost response for actions for a collaboration of a repository

func DeleteCollaboration added in v1.21.0

func DeleteCollaboration(ctx *context.Context)

DeleteCollaboration delete a collaboration for a repository

func DeleteDeployKey added in v1.21.0

func DeleteDeployKey(ctx *context.Context)

DeleteDeployKey response for deleting a deploy key

func DeleteProtectedBranchRulePost added in v1.21.0

func DeleteProtectedBranchRulePost(ctx *context.Context)

DeleteProtectedBranchRulePost delete protected branch rule by id

func DeleteProtectedTagPost added in v1.21.0

func DeleteProtectedTagPost(ctx *context.Context)

DeleteProtectedTagPost handles deletion of a protected tag

func DeleteTeam added in v1.21.0

func DeleteTeam(ctx *context.Context)

DeleteTeam response for deleting a team from a repository

func DeleteWebhook added in v1.21.0

func DeleteWebhook(ctx *context.Context)

DeleteWebhook delete a webhook

func DeployKeys added in v1.21.0

func DeployKeys(ctx *context.Context)

DeployKeys render the deploy keys list of a repository page

func DeployKeysPost added in v1.21.0

func DeployKeysPost(ctx *context.Context)

DeployKeysPost response for adding a deploy key of a repository

func DingtalkHooksEditPost added in v1.21.0

func DingtalkHooksEditPost(ctx *context.Context)

DingtalkHooksEditPost response for editing Dingtalk webhook

func DingtalkHooksNewPost added in v1.21.0

func DingtalkHooksNewPost(ctx *context.Context)

DingtalkHooksNewPost response for creating Dingtalk webhook

func DiscordHooksEditPost added in v1.21.0

func DiscordHooksEditPost(ctx *context.Context)

DiscordHooksEditPost response for editing Discord webhook

func DiscordHooksNewPost added in v1.21.0

func DiscordHooksNewPost(ctx *context.Context)

DiscordHooksNewPost response for creating Discord webhook

func EditProtectedTag added in v1.21.0

func EditProtectedTag(ctx *context.Context)

EditProtectedTag render the page to edit a protect tag

func EditProtectedTagPost added in v1.21.0

func EditProtectedTagPost(ctx *context.Context)

EditProtectedTagPost handles creation of a protect tag

func FeishuHooksEditPost added in v1.21.0

func FeishuHooksEditPost(ctx *context.Context)

FeishuHooksEditPost response for editing Feishu webhook

func FeishuHooksNewPost added in v1.21.0

func FeishuHooksNewPost(ctx *context.Context)

FeishuHooksNewPost response for creating Feishu webhook

func GitHooks added in v1.21.0

func GitHooks(ctx *context.Context)

GitHooks hooks of a repository

func GitHooksEdit added in v1.21.0

func GitHooksEdit(ctx *context.Context)

GitHooksEdit render for editing a hook of repository page

func GitHooksEditPost added in v1.21.0

func GitHooksEditPost(ctx *context.Context)

GitHooksEditPost response for editing a git hook of a repository

func GiteaHooksEditPost added in v1.21.0

func GiteaHooksEditPost(ctx *context.Context)

GiteaHooksEditPost response for editing Gitea webhook

func GiteaHooksNewPost added in v1.21.0

func GiteaHooksNewPost(ctx *context.Context)

GiteaHooksNewPost response for creating Gitea webhook

func GogsHooksEditPost added in v1.21.0

func GogsHooksEditPost(ctx *context.Context)

GogsHooksEditPost response for editing Gogs webhook

func GogsHooksNewPost added in v1.21.0

func GogsHooksNewPost(ctx *context.Context)

GogsHooksNewPost response for creating Gogs webhook

func LFSAutoAssociate added in v1.21.0

func LFSAutoAssociate(ctx *context.Context)

LFSAutoAssociate auto associates accessible lfs files

func LFSDelete added in v1.21.0

func LFSDelete(ctx *context.Context)

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

func LFSFileFind(ctx *context.Context)

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

func LFSFileGet(ctx *context.Context)

LFSFileGet serves a single LFS file

func LFSFiles added in v1.21.0

func LFSFiles(ctx *context.Context)

LFSFiles shows a repository's LFS files

func LFSLockFile added in v1.21.0

func LFSLockFile(ctx *context.Context)

LFSLockFile locks a file

func LFSLocks added in v1.21.0

func LFSLocks(ctx *context.Context)

LFSLocks shows a repository's LFS locks

func LFSPointerFiles added in v1.21.0

func LFSPointerFiles(ctx *context.Context)

LFSPointerFiles will search the repository for pointer files and report which are missing LFS files in the content store

func LFSUnlock added in v1.21.0

func LFSUnlock(ctx *context.Context)

LFSUnlock forcibly unlocks an LFS lock

func MSTeamsHooksEditPost added in v1.21.0

func MSTeamsHooksEditPost(ctx *context.Context)

MSTeamsHooksEditPost response for editing MSTeams webhook

func MSTeamsHooksNewPost added in v1.21.0

func MSTeamsHooksNewPost(ctx *context.Context)

MSTeamsHooksNewPost response for creating MSTeams webhook

func MatrixHooksEditPost added in v1.21.0

func MatrixHooksEditPost(ctx *context.Context)

MatrixHooksEditPost response for editing Matrix webhook

func MatrixHooksNewPost added in v1.21.0

func MatrixHooksNewPost(ctx *context.Context)

MatrixHooksNewPost response for creating Matrix webhook

func NewProtectedTagPost added in v1.21.0

func NewProtectedTagPost(ctx *context.Context)

NewProtectedTagPost handles creation of a protect tag

func PackagistHooksEditPost added in v1.21.0

func PackagistHooksEditPost(ctx *context.Context)

PackagistHooksEditPost response for editing Packagist webhook

func PackagistHooksNewPost added in v1.21.0

func PackagistHooksNewPost(ctx *context.Context)

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

func ProtectedBranchRules(ctx *context.Context)

ProtectedBranchRules render the page to protect the repository

func ProtectedTags added in v1.21.0

func ProtectedTags(ctx *context.Context)

Tags render the page to protect tags

func RedirectToDefaultSetting

func RedirectToDefaultSetting(ctx *context.Context)

func RenameBranchPost added in v1.21.0

func RenameBranchPost(ctx *context.Context)

RenameBranchPost responses for rename a branch

func ReplayWebhook added in v1.21.0

func ReplayWebhook(ctx *context.Context)

ReplayWebhook replays a webhook

func ResetRunnerRegistrationToken

func ResetRunnerRegistrationToken(ctx *context.Context)

func RunnerDeletePost

func RunnerDeletePost(ctx *context.Context)

RunnerDeletePost response for deleting runner

func Runners

func Runners(ctx *context.Context)

Runners render settings/actions/runners page for repo level

func RunnersEdit

func RunnersEdit(ctx *context.Context)

RunnersEdit renders runner edit page for repository level

func RunnersEditPost

func RunnersEditPost(ctx *context.Context)

func Secrets

func Secrets(ctx *context.Context)

func SecretsDelete

func SecretsDelete(ctx *context.Context)

func SecretsPost

func SecretsPost(ctx *context.Context)

func SetDefaultBranchPost added in v1.21.0

func SetDefaultBranchPost(ctx *context.Context)

SetDefaultBranchPost set default branch

func Settings added in v1.21.0

func Settings(ctx *context.Context)

Settings show a repository's settings page

func SettingsAvatar added in v1.21.0

func SettingsAvatar(ctx *context.Context)

SettingsAvatar save new POSTed repository avatar

func SettingsCtxData added in v1.21.0

func SettingsCtxData(ctx *context.Context)

SettingsCtxData is a middleware that sets all the general context data for the settings template.

func SettingsDeleteAvatar added in v1.21.0

func SettingsDeleteAvatar(ctx *context.Context)

SettingsDeleteAvatar delete repository avatar

func SettingsPost added in v1.21.0

func SettingsPost(ctx *context.Context)

SettingsPost response for changes of a repository

func SettingsProtectedBranch added in v1.21.0

func SettingsProtectedBranch(c *context.Context)

SettingsProtectedBranch renders the protected branch setting page

func SettingsProtectedBranchPost added in v1.21.0

func SettingsProtectedBranchPost(ctx *context.Context)

SettingsProtectedBranchPost updates the protected branch settings

func SlackHooksEditPost added in v1.21.0

func SlackHooksEditPost(ctx *context.Context)

SlackHooksEditPost response for editing Slack webhook

func SlackHooksNewPost added in v1.21.0

func SlackHooksNewPost(ctx *context.Context)

SlackHooksNewPost response for creating Slack webhook

func TelegramHooksEditPost added in v1.21.0

func TelegramHooksEditPost(ctx *context.Context)

TelegramHooksEditPost response for editing Telegram webhook

func TelegramHooksNewPost added in v1.21.0

func TelegramHooksNewPost(ctx *context.Context)

TelegramHooksNewPost response for creating Telegram webhook

func TestWebhook added in v1.21.0

func TestWebhook(ctx *context.Context)

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 VariableCreate(ctx *context.Context)

func VariableDelete added in v1.21.0

func VariableDelete(ctx *context.Context)

func VariableUpdate added in v1.21.0

func VariableUpdate(ctx *context.Context)

func Variables added in v1.21.0

func Variables(ctx *context.Context)

func WebHooksEdit added in v1.21.0

func WebHooksEdit(ctx *context.Context)

WebHooksEdit render editing web hook page

func Webhooks added in v1.21.0

func Webhooks(ctx *context.Context)

Webhooks render web hooks list page

func WebhooksNew added in v1.21.0

func WebhooksNew(ctx *context.Context)

WebhooksNew render creating webhook page

func WechatworkHooksEditPost added in v1.21.0

func WechatworkHooksEditPost(ctx *context.Context)

WechatworkHooksEditPost response for editing Wechatwork webhook

func WechatworkHooksNewPost added in v1.21.0

func WechatworkHooksNewPost(ctx *context.Context)

WechatworkHooksNewPost response for creating Wechatwork webhook

Types

This section is empty.

Jump to

Keyboard shortcuts

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