handler

package
v2.2.0-20240131 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 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 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