Documentation
¶
Index ¶
- func HandleArchive(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleBlame(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleCalculateCommitDivergence(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleCodeOwnersValidate(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleCommitDiff(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleCommitFiles(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleCreate(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleCreateBranch(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleCreateCommitTag(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleDeleteBranch(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleDeleteCommitTag(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleDiff(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleDiffStats(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleFind(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleGetBranch(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleGetCommit(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleGetContent(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleGitInfoRefs(repoCtrl *repo.Controller, urlProvider url.Provider) http.HandlerFunc
- func HandleGitRedirect(urlProvider url.Provider) http.HandlerFunc
- func HandleGitServicePack(service enum.GitServiceType, repoCtrl *repo.Controller, ...) http.HandlerFunc
- func HandleImport(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleImportProgress(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleListBranches(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleListCommitTags(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleListCommits(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleListPaths(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleListPipelines(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleListServiceAccounts(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleMergeCheck(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleMove(repoCtrl *repo.Controller) http.HandlerFunc
- func HandlePathsDetails(repoCtrl *repo.Controller) http.HandlerFunc
- func HandlePipelineGenerate(repoCtrl *repo.Controller) http.HandlerFunc
- func HandlePurge(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleRaw(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleRestore(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleRuleCreate(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleRuleDelete(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleRuleFind(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleRuleList(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleRuleUpdate(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleSoftDelete(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleSummary(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleUpdate(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleUpdateDefaultBranch(repoCtrl *repo.Controller) http.HandlerFunc
- func HandleUpdatePublicAccess(repoCtrl *repo.Controller) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleArchive ¶
func HandleArchive(repoCtrl *repo.Controller) http.HandlerFunc
func HandleBlame ¶
func HandleBlame(repoCtrl *repo.Controller) http.HandlerFunc
HandleBlame returns the git blame output for a file.
func HandleCalculateCommitDivergence ¶
func HandleCalculateCommitDivergence(repoCtrl *repo.Controller) http.HandlerFunc
* Writes json-encoded branch information to the http response body.
func HandleCodeOwnersValidate ¶
func HandleCodeOwnersValidate(repoCtrl *repo.Controller) http.HandlerFunc
func HandleCommitDiff ¶
func HandleCommitDiff(repoCtrl *repo.Controller) http.HandlerFunc
HandleCommitDiff returns the diff between two commits, branches or tags.
func HandleCommitFiles ¶
func HandleCommitFiles(repoCtrl *repo.Controller) http.HandlerFunc
HandleCommitFiles creates or modify file in repository.
func HandleCreate ¶
func HandleCreate(repoCtrl *repo.Controller) http.HandlerFunc
HandleCreate returns a http.HandlerFunc that creates a new repository.
func HandleCreateBranch ¶
func HandleCreateBranch(repoCtrl *repo.Controller) http.HandlerFunc
HandleCreateBranch writes json-encoded branch information to the http response body.
func HandleCreateCommitTag ¶
func HandleCreateCommitTag(repoCtrl *repo.Controller) http.HandlerFunc
func HandleDeleteBranch ¶
func HandleDeleteBranch(repoCtrl *repo.Controller) http.HandlerFunc
HandleDeleteBranch deletes a given branch.
func HandleDeleteCommitTag ¶
func HandleDeleteCommitTag(repoCtrl *repo.Controller) http.HandlerFunc
func HandleDiff ¶
func HandleDiff(repoCtrl *repo.Controller) http.HandlerFunc
HandleDiff returns the diff between two commits, branches or tags.
func HandleDiffStats ¶
func HandleDiffStats(repoCtrl *repo.Controller) http.HandlerFunc
HandleDiffStats how diff statistics of two commits, branches or tags.
func HandleFind ¶
func HandleFind(repoCtrl *repo.Controller) http.HandlerFunc
HandleFind writes json-encoded repository information to the http response body.
func HandleGetBranch ¶
func HandleGetBranch(repoCtrl *repo.Controller) http.HandlerFunc
* Gets a given branch.
func HandleGetCommit ¶
func HandleGetCommit(repoCtrl *repo.Controller) http.HandlerFunc
* Gets a given commit.
func HandleGetContent ¶
func HandleGetContent(repoCtrl *repo.Controller) http.HandlerFunc
HandleGetContent handles the get content HTTP API.
func HandleGitInfoRefs ¶
func HandleGitInfoRefs(repoCtrl *repo.Controller, urlProvider url.Provider) http.HandlerFunc
HandleGitInfoRefs handles the info refs part of git's smart http protocol.
func HandleGitRedirect ¶
func HandleGitRedirect(urlProvider url.Provider) http.HandlerFunc
HandleGitRedirect redirects from the vanilla git clone URL to the repo UI page.
func HandleGitServicePack ¶
func HandleGitServicePack( service enum.GitServiceType, repoCtrl *repo.Controller, urlProvider url.Provider, ) http.HandlerFunc
HandleGitServicePack handles the service pack part of git's smart http protocol (receive-/upload-pack).
func HandleImport ¶
func HandleImport(repoCtrl *repo.Controller) http.HandlerFunc
func HandleImportProgress ¶
func HandleImportProgress(repoCtrl *repo.Controller) http.HandlerFunc
func HandleListBranches ¶
func HandleListBranches(repoCtrl *repo.Controller) http.HandlerFunc
* Writes json-encoded branch information to the http response body.
func HandleListCommitTags ¶
func HandleListCommitTags(repoCtrl *repo.Controller) http.HandlerFunc
* Writes json-encoded commit tag information to the http response body.
func HandleListCommits ¶
func HandleListCommits(repoCtrl *repo.Controller) http.HandlerFunc
* Writes json-encoded commit information to the http response body.
func HandleListPaths ¶
func HandleListPaths(repoCtrl *repo.Controller) http.HandlerFunc
func HandleListPipelines ¶
func HandleListPipelines(repoCtrl *repo.Controller) http.HandlerFunc
func HandleListServiceAccounts ¶
func HandleListServiceAccounts(repoCtrl *repo.Controller) http.HandlerFunc
* Writes json-encoded service account information to the http response body.
func HandleMergeCheck ¶
func HandleMergeCheck(repoCtrl *repo.Controller) http.HandlerFunc
HandleMergeCheck checks if two branches are mergeable.
func HandleMove ¶
func HandleMove(repoCtrl *repo.Controller) http.HandlerFunc
HandleMove moves an existing repo.
func HandlePathsDetails ¶
func HandlePathsDetails(repoCtrl *repo.Controller) http.HandlerFunc
HandlePathsDetails handles get file or directory details HTTP API.
func HandlePipelineGenerate ¶
func HandlePipelineGenerate(repoCtrl *repo.Controller) http.HandlerFunc
func HandlePurge ¶
func HandlePurge(repoCtrl *repo.Controller) http.HandlerFunc
func HandleRaw ¶
func HandleRaw(repoCtrl *repo.Controller) http.HandlerFunc
HandleRaw returns the raw content of a file.
func HandleRestore ¶
func HandleRestore(repoCtrl *repo.Controller) http.HandlerFunc
func HandleRuleCreate ¶
func HandleRuleCreate(repoCtrl *repo.Controller) http.HandlerFunc
HandleRuleCreate handles API that adds a new protection rule to a repository.
func HandleRuleDelete ¶
func HandleRuleDelete(repoCtrl *repo.Controller) http.HandlerFunc
HandleRuleDelete handles API that deletes a protection rule.
func HandleRuleFind ¶
func HandleRuleFind(repoCtrl *repo.Controller) http.HandlerFunc
HandleRuleFind handles API that returns a protection rule of a repository.
func HandleRuleList ¶
func HandleRuleList(repoCtrl *repo.Controller) http.HandlerFunc
HandleRuleList handles API that lists a protection rules of a repository.
func HandleRuleUpdate ¶
func HandleRuleUpdate(repoCtrl *repo.Controller) http.HandlerFunc
HandleRuleUpdate handles API that updates a protection rule of a repository.
func HandleSoftDelete ¶
func HandleSoftDelete(repoCtrl *repo.Controller) http.HandlerFunc
* Soft Deletes a repository.
func HandleSummary ¶
func HandleSummary(repoCtrl *repo.Controller) http.HandlerFunc
HandleSummary writes json-encoded repository summary information to the http response body.
func HandleUpdate ¶
func HandleUpdate(repoCtrl *repo.Controller) http.HandlerFunc
* Updates an existing repository.
func HandleUpdateDefaultBranch ¶
func HandleUpdateDefaultBranch(repoCtrl *repo.Controller) http.HandlerFunc
func HandleUpdatePublicAccess ¶
func HandleUpdatePublicAccess(repoCtrl *repo.Controller) http.HandlerFunc
Types ¶
This section is empty.
Source Files
¶
- archive.go
- blame.go
- calculate_commit_divergence.go
- codeowner_validate.go
- commit.go
- content_get.go
- content_paths_details.go
- create.go
- create_branch.go
- create_commit_tag.go
- default_branch.go
- delete_branch.go
- delete_tag.go
- diff.go
- find.go
- find_redirect.go
- get_branch.go
- get_commit.go
- git_info_refs.go
- git_service_pack.go
- import.go
- import_progress.go
- list_branches.go
- list_commit_tags.go
- list_commits.go
- list_paths.go
- list_pipelines.go
- list_service_accounts.go
- merge_check.go
- move.go
- pipeline_generate.go
- purge.go
- raw.go
- restore.go
- rule_create.go
- rule_delete.go
- rule_find.go
- rule_list.go
- rule_update.go
- soft_delete.go
- summary.go
- update.go
- update_public_access.go
- upload_file.go