handler

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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 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 GetCodehubRepoInfo added in v1.3.0

func GetCodehubRepoInfo(c *gin.Context)

func GetContents added in v1.9.9

func GetContents(c *gin.Context)

func GetGitRepoInfo

func GetGitRepoInfo(c *gin.Context)

func GetProductNameByWorkspacePipeline

func GetProductNameByWorkspacePipeline(c *gin.Context)

func GetRepoTree added in v1.4.0

func GetRepoTree(c *gin.Context)

func GetWorkspaceFile

func GetWorkspaceFile(c *gin.Context)

func ListRepoInfos

func ListRepoInfos(c *gin.Context)

func MatchBranchesList added in v1.6.0

func MatchBranchesList(c *gin.Context)

Types

type BranchesRequest added in v1.6.0

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

type CodeHostGetPageNateListArgs added in v1.9.9

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 added in v1.8.0

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