handler

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanWorkspace

func CleanWorkspace(c *gin.Context)

func CodeHostGetBranchList

func CodeHostGetBranchList(c *gin.Context)

func CodeHostGetCommits

func CodeHostGetCommits(c *gin.Context)

func CodeHostGetNamespaceList

func CodeHostGetNamespaceList(c *gin.Context)

func CodeHostGetPRList

func CodeHostGetPRList(c *gin.Context)

func CodeHostGetProjectsList

func CodeHostGetProjectsList(c *gin.Context)

func CodeHostGetTagList

func CodeHostGetTagList(c *gin.Context)

func GetCodeHostList

func GetCodeHostList(c *gin.Context)

func GetContents

func GetContents(c *gin.Context)

func GetGitRepoInfo

func GetGitRepoInfo(c *gin.Context)

func GetProductNameByWorkspacePipeline

func GetProductNameByWorkspacePipeline(c *gin.Context)

func GetRepoTree

func GetRepoTree(c *gin.Context)

func GetWorkspaceFile

func GetWorkspaceFile(c *gin.Context)

func ListRepoInfos

func ListRepoInfos(c *gin.Context)

func MatchBranchesList

func MatchBranchesList(c *gin.Context)

Types

type BranchesRequest

type BranchesRequest struct {
	Regular  string   `json:"regular"`
	Branches []string `json:"branches"`
}

type CodeHostGetPageNateListArgs

type CodeHostGetPageNateListArgs struct {
	PerPage int    `json:"per_page"     form:"per_page,default=100"`
	Page    int    `json:"page"         form:"page,default=1"`
	Key     string `json:"key"          form:"key"`
}

type CodeHostListProjectsArgs

type CodeHostListProjectsArgs struct {
	PerPage int    `json:"per_page"     form:"per_page,default=30"`
	Page    int    `json:"page"         form:"page,default=1"`
	Key     string `json:"key"          form:"key"`
}

type Router

type Router struct{}

func (*Router) Inject

func (*Router) Inject(router *gin.RouterGroup)

Jump to

Keyboard shortcuts

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