Documentation
¶
Index ¶
Constants ¶
View Source
const ( GitLabProvider = "gitlab" GitHubProvider = "github" GerritProvider = "gerrit" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeHost ¶
type CodeHost struct {
ID int `json:"id"`
OrgId int `json:"orgId"`
Address string `json:"address"`
Type string `json:"type"`
AccessToken string `json:"accessToken"`
Namespace string `json:"namespace"`
}
func GetCodeHostInfo ¶
func GetCodeHostInfo(option *CodeHostOption) (*CodeHost, error)
func GetCodeHostInfoByID ¶
func GetCodehostList ¶
type CodeHostOption ¶
Click to show internal directories.
Click to hide internal directories.