SYMBOL INDEX (694 symbols across 141 files) FILE: bean/condition.go function skipBranch (line 8) | func skipBranch(c *Condition, branch string) bool { function skipCommitMessages (line 11) | func skipCommitMessages(c *Condition, branch string) bool { function skipCommitNotes (line 14) | func skipCommitNotes(c *Condition, branch string) bool { method Match (line 18) | func (c *Condition) Match(v string) bool { method Excludes (line 37) | func (c *Condition) Excludes(v string) bool { method Includes (line 60) | func (c *Condition) Includes(v string) bool { function isMatch (line 83) | func isMatch(s string, p string) bool { FILE: bean/db.go type Page (line 3) | type Page struct type PageGen (line 10) | type PageGen struct FILE: bean/http.go type IdsRes (line 3) | type IdsRes struct type LoginReq (line 7) | type LoginReq struct type LoginRes (line 11) | type LoginRes struct FILE: bean/models.go type PipelineShow (line 3) | type PipelineShow struct FILE: bean/pipeline.go type NewPipeline (line 3) | type NewPipeline struct method Check (line 21) | func (p *NewPipeline) Check() bool { type NewPipelineVar (line 14) | type NewPipelineVar struct FILE: bean/pipelinevar.go type PipelineVar (line 3) | type PipelineVar struct FILE: bean/runtime.go type LogOutJson (line 5) | type LogOutJson struct type LogOutJsonRes (line 11) | type LogOutJsonRes struct FILE: bean/thirdbean/gitea.go type ResultGiteaRepo (line 5) | type ResultGiteaRepo struct type ResultGiteaRepoBranch (line 74) | type ResultGiteaRepoBranch struct type ResultGetGiteaHook (line 110) | type ResultGetGiteaHook struct FILE: bean/thirdbean/gitee.go type ResultGiteeCreateHooks (line 5) | type ResultGiteeCreateHooks struct type ResultGiteeRepo (line 20) | type ResultGiteeRepo struct type ResultGiteeRepoBranch (line 148) | type ResultGiteeRepoBranch struct type ResultGetGiteeHook (line 158) | type ResultGetGiteeHook struct FILE: bean/thirdbean/giteepremium.go type ResultGiteePremiumCreateHooks (line 5) | type ResultGiteePremiumCreateHooks struct type ResultGiteePremiumRepo (line 20) | type ResultGiteePremiumRepo struct type ResultGiteePremiumRepoBranch (line 148) | type ResultGiteePremiumRepoBranch struct type ResultGetGiteePremiumHook (line 158) | type ResultGetGiteePremiumHook struct FILE: bean/thirdbean/github.go type ResultGithubRepo (line 5) | type ResultGithubRepo struct type ResultGithubRepoBranch (line 111) | type ResultGithubRepoBranch struct type ResultGetGithubHook (line 127) | type ResultGetGithubHook struct FILE: bean/thirdbean/gitlab.go type ResultGitlabRepo (line 5) | type ResultGitlabRepo struct type ResultGitlabRepoBranch (line 124) | type ResultGitlabRepoBranch struct type ResultGetGitlabHook (line 148) | type ResultGetGitlabHook struct FILE: bean/trigger.go type TriggerParam (line 5) | type TriggerParam struct method Check (line 15) | func (c *TriggerParam) Check() error { FILE: bean/yml.go type Pipeline (line 10) | type Pipeline struct method ToJson (line 76) | func (c *Pipeline) ToJson() ([]byte, error) { method ConvertCmd (line 80) | func (c *Pipeline) ConvertCmd() { method Check (line 100) | func (c *Pipeline) Check() error { type Trigger (line 17) | type Trigger struct type Condition (line 27) | type Condition struct type Stage (line 32) | type Stage struct type Step (line 43) | type Step struct type Artifact (line 56) | type Artifact struct type UseArtifacts (line 63) | type UseArtifacts struct FILE: cmd/cmd.go constant Version (line 15) | Version = "0.1.1" function Run (line 19) | func Run() { function regs (line 24) | func regs() { function getArgs (line 36) | func getArgs() []string { function start (line 56) | func start(pc *kingpin.ParseContext) error { function run (line 70) | func run(pc *kingpin.ParseContext) error { FILE: comm/app.go function init (line 30) | func init() { function Cancel (line 33) | func Cancel() { FILE: comm/cache.go function CacheSet (line 15) | func CacheSet(key string, data []byte, outm ...time.Duration) error { function CacheSets (line 45) | func CacheSets(key string, data interface{}, outm ...time.Duration) error { function parseCacheData (line 58) | func parseCacheData(bts []byte) []byte { function CacheGet (line 77) | func CacheGet(key string) ([]byte, error) { function CacheGets (line 103) | func CacheGets(key string, data interface{}) error { function CacheFlush (line 117) | func CacheFlush() error { function mainCacheClear (line 129) | func mainCacheClear() { FILE: comm/config.go type Config (line 3) | type Config struct FILE: comm/db.go function findCount (line 16) | func findCount(cds builder.Cond, data interface{}) (int64, error) { function FindPage (line 39) | func FindPage(ses *xorm.Session, ls interface{}, page int64, size ...int... function findPages (line 46) | func findPages(ses *xorm.Session, ls interface{}, count, page int64, siz... function FindPages (line 76) | func FindPages(gen *bean.PageGen, ls interface{}, page int64, size ...in... FILE: comm/migrate.go function bindata_read (line 11) | func bindata_read(data []byte, name string) ([]byte, error) { function mysql_000001_gokins_down_sql (line 30) | func mysql_000001_gokins_down_sql() ([]byte, error) { function mysql_000001_gokins_up_sql (line 39) | func mysql_000001_gokins_up_sql() ([]byte, error) { function sqlite_000001_gokins_down_sql (line 48) | func sqlite_000001_gokins_down_sql() ([]byte, error) { function sqlite_000001_gokins_up_sql (line 57) | func sqlite_000001_gokins_up_sql() ([]byte, error) { function Asset (line 67) | func Asset(name string) ([]byte, error) { function AssetNames (line 76) | func AssetNames() []string { function AssetDir (line 104) | func AssetDir(name string) ([]string, error) { type _bintree_t (line 126) | type _bintree_t struct FILE: comm/thirdapi.go function GetThirdApi (line 17) | func GetThirdApi(s string, host string) (*thirdapi.Client, error) { FILE: comm/uis.go constant StaticPkg (line 3) | StaticPkg = "UEsDBBQACAAIAAAAAAAAAAAAAAAAAAAAAAALAAAAZmF2aWNvbi5pY2/sXA9... FILE: compressui.go function main (line 15) | func main() { function gengo (line 27) | func gengo() error { FILE: engine/buildDao.go method updateBuild (line 13) | func (c *BuildTask) updateBuild(build *runtime.Build) { method updateStage (line 71) | func (c *BuildTask) updateStage(stage *runtime.Stage) { method updateStep (line 107) | func (c *BuildTask) updateStep(job *jobSync) { method updateStepCmd (line 146) | func (c *BuildTask) updateStepCmd(cmd *cmdSync) { FILE: engine/buildEgn.go type BuildEngine (line 15) | type BuildEngine struct method Stop (line 40) | func (c *BuildEngine) Stop() { method init (line 47) | func (c *BuildEngine) init() { method run (line 73) | func (c *BuildEngine) run() { method startBuild (line 104) | func (c *BuildEngine) startBuild(v *BuildTask) { method Put (line 110) | func (c *BuildEngine) Put(bd *runtime.Build) { method Get (line 115) | func (c *BuildEngine) Get(buildid string) (*BuildTask, bool) { function StartBuildEngine (line 23) | func StartBuildEngine() *BuildEngine { FILE: engine/buildTask.go type taskStage (line 24) | type taskStage struct method status (line 31) | func (c *taskStage) status(stat, errs string, event ...string) { type BuildTask (line 41) | type BuildTask struct method status (line 65) | func (c *BuildTask) status(stat, errs string, event ...string) { method stopd (line 80) | func (c *BuildTask) stopd() bool { method stop (line 86) | func (c *BuildTask) stop() { method Cancel (line 92) | func (c *BuildTask) Cancel() { method clears (line 98) | func (c *BuildTask) clears() { method run (line 114) | func (c *BuildTask) run() { method runStage (line 174) | func (c *BuildTask) runStage(stage *runtime.Stage) { method runStep (line 227) | func (c *BuildTask) runStep(stage *taskStage, job *jobSync) { method getRepo (line 334) | func (c *BuildTask) getRepo() error { method Write (line 348) | func (c *BuildTask) Write(bts []byte) (n int, err error) { method gitClone (line 369) | func (c *BuildTask) gitClone(ctx context.Context, dir string, repo *ru... method UpJob (line 395) | func (c *BuildTask) UpJob(job *jobSync, stat, errs string, code int) { method UpJobCmd (line 406) | func (c *BuildTask) UpJobCmd(cmd *cmdSync, fs, code int) { method WorkProgress (line 436) | func (c *BuildTask) WorkProgress() int { method Show (line 439) | func (c *BuildTask) Show() (*runtime.BuildShow, bool) { method GetJob (line 513) | func (c *BuildTask) GetJob(id string) (*jobSync, bool) { function NewBuildTask (line 75) | func NewBuildTask(egn *BuildEngine, bd *runtime.Build) *BuildTask { FILE: engine/buildTaskc.go method check (line 19) | func (c *BuildTask) check() bool { method genRunjob (line 135) | func (c *BuildTask) genRunjob(stage *runtime.Stage, job *jobSync) (rterr... method appendcmds (line 221) | func (c *BuildTask) appendcmds(runjb *runners.RunJob, conts string) { method gencmds (line 230) | func (c *BuildTask) gencmds(runjb *runners.RunJob, cmds []interface{}) (... FILE: engine/buildtask_test.go function TestGitClone (line 9) | func TestGitClone(t *testing.T) { FILE: engine/hbtpruner.go type HbtpRunner (line 14) | type HbtpRunner struct method AuthFun (line 17) | func (HbtpRunner) AuthFun() hbtp.AuthFun { method ServerInfo (line 47) | func (HbtpRunner) ServerInfo(c *hbtp.Context) { method PullJob (line 55) | func (HbtpRunner) PullJob(c *hbtp.Context, m *runners.ReqPullJob) { method CheckCancel (line 63) | func (HbtpRunner) CheckCancel(c *hbtp.Context) { method Update (line 67) | func (HbtpRunner) Update(c *hbtp.Context, m *runners.UpdateJobInfo) { method UpdateCmd (line 75) | func (HbtpRunner) UpdateCmd(c *hbtp.Context) { method PushOutLine (line 92) | func (HbtpRunner) PushOutLine(c *hbtp.Context) { method FindJobId (line 105) | func (HbtpRunner) FindJobId(c *hbtp.Context) { method ReadDir (line 116) | func (HbtpRunner) ReadDir(c *hbtp.Context) { method ReadFile (line 131) | func (HbtpRunner) ReadFile(c *hbtp.Context) { method GetEnv (line 160) | func (HbtpRunner) GetEnv(c *hbtp.Context) { method GenEnv (line 171) | func (HbtpRunner) GenEnv(c *hbtp.Context, env utils.EnvVal) { method UploadFile (line 181) | func (HbtpRunner) UploadFile(c *hbtp.Context) { method FindArtVersionId (line 213) | func (HbtpRunner) FindArtVersionId(c *hbtp.Context) { method NewArtVersionId (line 224) | func (HbtpRunner) NewArtVersionId(c *hbtp.Context) { FILE: engine/jobEgn.go type JobEngine (line 18) | type JobEngine struct method run (line 72) | func (c *JobEngine) run() { method rmExec (line 104) | func (c *JobEngine) rmExec(k string, ex *executer) { method Put (line 122) | func (c *JobEngine) Put(job *jobSync) error { method Pull (line 137) | func (c *JobEngine) Pull(name string, plugs []string) *runners.RunJob { type executer (line 25) | type executer struct type cmdSync (line 31) | type cmdSync struct type jobSync (line 39) | type jobSync struct method status (line 48) | func (c *jobSync) status(stat, errs string, event ...string) { function StartJobEngine (line 58) | func StartJobEngine() *JobEngine { FILE: engine/mgr.go type Manager (line 18) | type Manager struct method run (line 63) | func (c *Manager) run() { method BuildEgn (line 73) | func (c *Manager) BuildEgn() *BuildEngine { method HRun (line 76) | func (c *Manager) HRun() *HbtpRunner { method TimerEng (line 80) | func (c *Manager) TimerEng() *TimerEngine { function Start (line 27) | func Start() error { FILE: engine/runner.go type baseRunner (line 24) | type baseRunner struct method ServerInfo (line 26) | func (c *baseRunner) ServerInfo() (*runners.ServerInfo, error) { method PullJob (line 33) | func (c *baseRunner) PullJob(name string, plugs []string) (*runners.Ru... method CheckCancel (line 44) | func (c *baseRunner) CheckCancel(buildId string) bool { method Update (line 51) | func (c *baseRunner) Update(m *runners.UpdateJobInfo) error { method UpdateCmd (line 64) | func (c *baseRunner) UpdateCmd(buildId, jobId, cmdId string, fs, code ... method PushOutLine (line 82) | func (c *baseRunner) PushOutLine(buildId, jobId, cmdId, bs string, ise... method FindJobId (line 114) | func (c *baseRunner) FindJobId(buildId, stgNm, stpNm string) (string, ... method ReadDir (line 138) | func (c *baseRunner) ReadDir(fs int, buildId string, pth string) ([]*r... method ReadFile (line 172) | func (c *baseRunner) ReadFile(fs int, buildId string, pth string) (int... method GetEnv (line 202) | func (c *baseRunner) GetEnv(buildId, jobId, key string) (string, bool) { method GenEnv (line 230) | func (c *baseRunner) GenEnv(buildId, jobId string, env utils.EnvVal) e... method UploadFile (line 251) | func (c *baseRunner) UploadFile(fs int, buildId, jobId string, dir, pt... method FindArtVersionId (line 280) | func (c *baseRunner) FindArtVersionId(buildId, idnt string, names stri... method NewArtVersionId (line 333) | func (c *baseRunner) NewArtVersionId(buildId, idnt string, name string... FILE: engine/timermgr.go type TimerEngine (line 17) | type TimerEngine struct method run (line 41) | func (c *TimerEngine) run() { method execItem (line 55) | func (c *TimerEngine) execItem(v *timerExec) { method refresh (line 90) | func (c *TimerEngine) refresh() { method resetOne (line 109) | func (c *TimerEngine) resetOne(tmr *model.TTrigger) error { method Refresh (line 190) | func (c *TimerEngine) Refresh(tmrid string) error { method Delete (line 202) | func (c *TimerEngine) Delete(tmrid string) { type timerExec (line 21) | type timerExec struct function StartTimerEngine (line 28) | func StartTimerEngine() *TimerEngine { FILE: engine/timermgr_test.go function TestTimer (line 10) | func TestTimer(t *testing.T) { function TestSync (line 21) | func TestSync(t *testing.T) { FILE: hook/action.go type Action (line 3) | type Action constant ActionOpen (line 6) | ActionOpen = "open" constant ActionOpened (line 7) | ActionOpened = "opened" constant ActionClose (line 8) | ActionClose = "close" constant ActionCreate (line 9) | ActionCreate = "create" constant ActionDelete (line 10) | ActionDelete = "delete" constant ActionSync (line 11) | ActionSync = "sync" constant ActionUpdate (line 12) | ActionUpdate = "update" constant ActionSynchronize (line 13) | ActionSynchronize = "synchronize" FILE: hook/event.go constant EVENTS_TYPE_COMMENT (line 6) | EVENTS_TYPE_COMMENT = "comment" constant EVENTS_TYPE_PR (line 8) | EVENTS_TYPE_PR = "pr" constant EVENTS_TYPE_PUSH (line 10) | EVENTS_TYPE_PUSH = "push" constant EVENTS_TYPE_BUILD (line 12) | EVENTS_TYPE_BUILD = "build" constant EVENTS_TYPE_REBUILD (line 14) | EVENTS_TYPE_REBUILD = "rebuild" constant GITEE_EVENT (line 18) | GITEE_EVENT = "X-Gitee-Event" constant GITEE_EVENT_PUSH (line 19) | GITEE_EVENT_PUSH = "Push Hook" constant GITEE_EVENT_NOTE (line 20) | GITEE_EVENT_NOTE = "Note Hook" constant GITEE_EVENT_PR (line 21) | GITEE_EVENT_PR = "Merge Request Hook" constant GITEE_EVENT_PR_ACTION_OPEN (line 22) | GITEE_EVENT_PR_ACTION_OPEN = "open" constant GITEE_EVENT_PR_ACTION_UPDATE (line 23) | GITEE_EVENT_PR_ACTION_UPDATE = "update" constant GITEE_EVENT_PR_ACTION_COMMENT (line 24) | GITEE_EVENT_PR_ACTION_COMMENT = "comment" constant GITHUB_EVENT (line 27) | GITHUB_EVENT = "X-GitHub-Event" constant GITHUB_EVENT_ISSUE_COMMENT (line 28) | GITHUB_EVENT_ISSUE_COMMENT = "issue_comment" constant GITHUB_EVENT_PUSH (line 29) | GITHUB_EVENT_PUSH = "push" constant GITHUB_EVENT_PR (line 30) | GITHUB_EVENT_PR = "pull_request" constant GITHUB_EVENT_PR_ACTION_OPEN (line 31) | GITHUB_EVENT_PR_ACTION_OPEN = "open" constant GITHUB_EVENT_PR_ACTION_UPDATE (line 32) | GITHUB_EVENT_PR_ACTION_UPDATE = "update" constant GITHUB_EVENT_PR_ACTION_COMMENT (line 33) | GITHUB_EVENT_PR_ACTION_COMMENT = "comment" constant GITLAB_EVENT (line 37) | GITLAB_EVENT = "X-Gitlab-Event" constant GITLAB_EVENT_PUSH (line 38) | GITLAB_EVENT_PUSH = "Push Hook" constant GITLAB_EVENT_PR (line 39) | GITLAB_EVENT_PR = "Merge Request Hook" constant GITLAB_EVENT_NOTE (line 40) | GITLAB_EVENT_NOTE = "Note Hook" constant GITEA_EVENT (line 44) | GITEA_EVENT = "X-Gitea-Event" constant GITEA_EVENT_PUSH (line 45) | GITEA_EVENT_PUSH = "push" constant GITEA_EVENT_PR (line 46) | GITEA_EVENT_PR = "pull_request" constant GITEA_EVENT_NOTE (line 47) | GITEA_EVENT_NOTE = "issue_comment" FILE: hook/git.go type Reference (line 4) | type Reference struct type Commit (line 10) | type Commit struct type User (line 16) | type User struct FILE: hook/gitea/gitea.go function Parse (line 23) | func Parse(req *http.Request, secret string) (hook.WebHook, error) { function Validate (line 59) | func Validate(h func() hash.Hash, message, key []byte, signature string)... function validatePrefix (line 67) | func validatePrefix(message, key []byte, signature string) bool { function validate (line 77) | func validate(h func() hash.Hash, message, key, signature []byte) bool { function parseCommentHook (line 84) | func parseCommentHook(data []byte) (*hook.PullRequestCommentHook, error) { function parsePullRequestHook (line 96) | func parsePullRequestHook(data []byte) (*hook.PullRequestHook, error) { function parsePushHook (line 114) | func parsePushHook(data []byte) (*hook.PushHook, error) { function convertPushHook (line 122) | func convertPushHook(gp *giteaPushHook) *hook.PushHook { function convertPullRequestHook (line 162) | func convertPullRequestHook(gp *giteaPRHook) *hook.PullRequestHook { function convertPullRequestURL (line 228) | func convertPullRequestURL(gc *giteaCommentHook) (*giteaPullRequestURL, ... function convertCommentHook (line 258) | func convertCommentHook(gp *giteaCommentHook) (*hook.PullRequestCommentH... type giteaPushHook (line 335) | type giteaPushHook struct type giteaPRHook (line 468) | type giteaPRHook struct type giteaCommentHook (line 756) | type giteaCommentHook struct type giteaPullRequestURL (line 924) | type giteaPullRequestURL struct FILE: hook/gitee/gitee.go function Parse (line 18) | func Parse(req *http.Request, secret string) (hook.WebHook, error) { function parseCommentHook (line 55) | func parseCommentHook(data []byte) (*hook.PullRequestCommentHook, error) { function parsePullRequestHook (line 64) | func parsePullRequestHook(data []byte) (*hook.PullRequestHook, error) { function parsePushHook (line 78) | func parsePushHook(data []byte) (*hook.PushHook, error) { function convertPullRequestHook (line 86) | func convertPullRequestHook(gp *giteePRHook) *hook.PullRequestHook { function convertPushHook (line 156) | func convertPushHook(gp *giteePushHook) *hook.PushHook { function convertCommentHook (line 198) | func convertCommentHook(gp *giteeCommentHook) *hook.PullRequestCommentHo... type giteePushHook (line 277) | type giteePushHook struct type giteePRHook (line 472) | type giteePRHook struct type giteeCommentHook (line 1042) | type giteeCommentHook struct FILE: hook/github/github.go function Parse (line 23) | func Parse(req *http.Request, secret string) (hook.WebHook, error) { function Validate (line 57) | func Validate(h func() hash.Hash, message, key []byte, signature string)... function validatePrefix (line 65) | func validatePrefix(message, key []byte, signature string) bool { function validate (line 80) | func validate(h func() hash.Hash, message, key, signature []byte) bool { function parseCommentHook (line 87) | func parseCommentHook(data []byte) (*hook.PullRequestCommentHook, error) { function parsePullRequestHook (line 96) | func parsePullRequestHook(data []byte) (*hook.PullRequestHook, error) { function parsePushHook (line 114) | func parsePushHook(data []byte) (*hook.PushHook, error) { function convertPullRequestHook (line 122) | func convertPullRequestHook(gp *githubPRHook) *hook.PullRequestHook { function convertPushHook (line 192) | func convertPushHook(gp *githubPushHook) *hook.PushHook { function convertPullRequestURL (line 234) | func convertPullRequestURL(u string) (*githubPullRequestURL, error) { function convertCommentHook (line 262) | func convertCommentHook(gp *githubCommentHook) (*hook.PullRequestComment... type githubPullRequestURL (line 344) | type githubPullRequestURL struct type githubPushHook (line 675) | type githubPushHook struct type githubPRHook (line 849) | type githubPRHook struct type githubCommentHook (line 1305) | type githubCommentHook struct FILE: hook/gitlab/gitlab.go function Parse (line 23) | func Parse(req *http.Request, secret string) (hook.WebHook, error) { function Validate (line 57) | func Validate(h func() hash.Hash, message, key []byte, signature string)... function validatePrefix (line 65) | func validatePrefix(message, key []byte, signature string) bool { function validate (line 80) | func validate(h func() hash.Hash, message, key, signature []byte) bool { function parseCommentHook (line 87) | func parseCommentHook(data []byte) (*hook.PullRequestCommentHook, error) { function parsePullRequestHook (line 96) | func parsePullRequestHook(data []byte) (*hook.PullRequestHook, error) { function parsePushHook (line 110) | func parsePushHook(data []byte) (*hook.PushHook, error) { function convertPullRequestHook (line 118) | func convertPullRequestHook(gp *gitlabPRHook) *hook.PullRequestHook { function convertPushHook (line 179) | func convertPushHook(gp *gitlabPushHook) *hook.PushHook { function convertCommentHook (line 212) | func convertCommentHook(gp *gitlabCommentHook) (*hook.PullRequestComment... type gitlabPushHook (line 280) | type gitlabPushHook struct type gitlabPRHook (line 339) | type gitlabPRHook struct type gitlabCommentHook (line 467) | type gitlabCommentHook struct FILE: hook/pr.go type PullRequest (line 7) | type PullRequest struct type Comment (line 18) | type Comment struct FILE: hook/repo.go type Repository (line 5) | type Repository struct FILE: hook/webhook.go type WebHook (line 8) | type WebHook interface type WebhookService (line 11) | type WebhookService interface type PushHook (line 15) | type PushHook struct method Repository (line 52) | func (h *PushHook) Repository() Repository { return h.Re... type BranchHook (line 26) | type BranchHook struct method Repository (line 53) | func (h *BranchHook) Repository() Repository { return h.Re... type PullRequestHook (line 32) | type PullRequestHook struct method Repository (line 54) | func (h *PullRequestHook) Repository() Repository { return h.Re... type PullRequestCommentHook (line 40) | type PullRequestCommentHook struct method Repository (line 55) | func (h *PullRequestCommentHook) Repository() Repository { return h.Re... type SecretFunc (line 49) | type SecretFunc FILE: main.go function main (line 8) | func main() { FILE: migrates/init.go function InitMysqlMigrate (line 17) | func InitMysqlMigrate(host, dbs, user, pass string) (wait bool, rtul str... function InitSqliteMigrate (line 106) | func InitSqliteMigrate() (rtul string, errs error) { FILE: migrates/mysql/000001_gokins.up.sql type `t_artifact_package` (line 1) | CREATE TABLE `t_artifact_package` ( type `t_artifact_version` (line 16) | CREATE TABLE `t_artifact_version` ( type `t_artifactory` (line 31) | CREATE TABLE `t_artifactory` ( type `t_build` (line 48) | CREATE TABLE `t_build` ( type `t_cmd_line` (line 62) | CREATE TABLE `t_cmd_line` ( type `t_stage` (line 76) | CREATE TABLE `t_stage` ( type `t_step` (line 92) | CREATE TABLE `t_step` ( type `t_trigger` (line 115) | CREATE TABLE `t_trigger` ( type `t_trigger_run` (line 130) | CREATE TABLE `t_trigger_run` ( type `t_message` (line 141) | CREATE TABLE `t_message` ( type `t_org` (line 153) | CREATE TABLE `t_org` ( type `t_org_pipe` (line 167) | CREATE TABLE `t_org_pipe` ( type `t_pipeline` (line 176) | CREATE TABLE `t_pipeline` ( type `t_pipeline_conf` (line 187) | CREATE TABLE `t_pipeline_conf` ( type `t_pipeline_version` (line 196) | CREATE TABLE `t_pipeline_version` ( type `t_param` (line 213) | CREATE TABLE `t_param` ( type `t_user` (line 221) | CREATE TABLE `t_user` ( type `t_user_info` (line 249) | CREATE TABLE `t_user_info` ( type `t_user_org` (line 260) | CREATE TABLE `t_user_org` ( type `t_user_msg` (line 274) | CREATE TABLE `t_user_msg` ( type `t_user_token` (line 286) | CREATE TABLE `t_user_token` ( type `t_pipeline_var` (line 306) | CREATE TABLE `t_pipeline_var` ( type `t_yml_plugin` (line 316) | CREATE TABLE `t_yml_plugin` ( type `t_yml_template` (line 364) | CREATE TABLE `t_yml_template` ( FILE: migrates/sqlite/000001_gokins.up.sql type `t_build` (line 1) | CREATE TABLE `t_build` ( FILE: migrates/up.go function UpMysqlMigrate (line 15) | func UpMysqlMigrate(ul string) error { function UpSqliteMigrate (line 68) | func UpSqliteMigrate(ul string) error { FILE: model/schema_migrations.go type SchemaMigrations (line 3) | type SchemaMigrations struct FILE: model/t_artifact_package.go type TArtifactPackage (line 7) | type TArtifactPackage struct FILE: model/t_artifact_version.go type TArtifactVersion (line 7) | type TArtifactVersion struct FILE: model/t_artifactory.go type TArtifactory (line 7) | type TArtifactory struct FILE: model/t_build.go type TBuild (line 7) | type TBuild struct FILE: model/t_cmd_line.go type TCmdLine (line 7) | type TCmdLine struct FILE: model/t_message.go type TMessage (line 7) | type TMessage struct FILE: model/t_org.go type TOrg (line 7) | type TOrg struct FILE: model/t_org_pipe.go type TOrgPipe (line 7) | type TOrgPipe struct FILE: model/t_param.go type TParam (line 7) | type TParam struct FILE: model/t_pipeline.go type TPipeline (line 7) | type TPipeline struct FILE: model/t_pipeline_conf.go type TPipelineConf (line 3) | type TPipelineConf struct FILE: model/t_pipeline_var.go type TPipelineVar (line 3) | type TPipelineVar struct FILE: model/t_pipeline_version.go type TPipelineVersion (line 7) | type TPipelineVersion struct FILE: model/t_stage.go type TStage (line 7) | type TStage struct FILE: model/t_step.go type TStep (line 7) | type TStep struct FILE: model/t_trigger.go type TTrigger (line 7) | type TTrigger struct FILE: model/t_trigger_run.go type TTriggerRun (line 7) | type TTriggerRun struct FILE: model/t_user.go type TUser (line 7) | type TUser struct FILE: model/t_user_info.go type TUserInfo (line 7) | type TUserInfo struct FILE: model/t_user_msg.go type TUserMsg (line 7) | type TUserMsg struct FILE: model/t_user_org.go type TUserOrg (line 7) | type TUserOrg struct FILE: model/t_user_token.go type TUserToken (line 7) | type TUserToken struct FILE: model/t_yml_plugin.go type TYmlPlugin (line 7) | type TYmlPlugin struct FILE: model/t_yml_template.go type TYmlTemplate (line 7) | type TYmlTemplate struct FILE: models/run_build.go type RunBuild (line 7) | type RunBuild struct method TableName (line 21) | func (RunBuild) TableName() string { FILE: models/run_stage.go type RunStage (line 7) | type RunStage struct method TableName (line 23) | func (RunStage) TableName() string { type RunStep (line 27) | type RunStep struct method TableName (line 48) | func (RunStep) TableName() string { FILE: models/t_artifact_package.go type TArtifactPackage (line 7) | type TArtifactPackage struct FILE: models/t_artifact_version.go type TArtifactVersion (line 13) | type TArtifactVersion struct method ReadFiles (line 29) | func (c *TArtifactVersion) ReadFiles() error { method readDir (line 35) | func (c *TArtifactVersion) readDir(pth string) ([]hbtp.Map, error) { FILE: models/t_artifactory.go type TArtifactory (line 7) | type TArtifactory struct FILE: models/t_org.go type TOrg (line 7) | type TOrg struct type TOrgInfo (line 20) | type TOrgInfo struct method TableName (line 38) | func (TOrgInfo) TableName() string { FILE: models/t_pipeline.go type TPipeline (line 7) | type TPipeline struct type TPipelineInfo (line 26) | type TPipelineInfo struct method TableName (line 39) | func (TPipelineInfo) TableName() string { FILE: models/t_pipeline_var.go type TPipelineVar (line 3) | type TPipelineVar struct method TableName (line 12) | func (TPipelineVar) TableName() string { FILE: models/t_pipeline_version.go type TPipelineVersion (line 7) | type TPipelineVersion struct type RunPipelineVersion (line 25) | type RunPipelineVersion struct FILE: models/t_trigger.go type TTrigger (line 5) | type TTrigger struct FILE: models/t_trigger_run.go type TTriggerRun (line 7) | type TTriggerRun struct type TimerTriggerRun (line 23) | type TimerTriggerRun struct FILE: models/t_user.go type TUser (line 7) | type TUser struct type TUserOrgInfo (line 18) | type TUserOrgInfo struct method TableName (line 34) | func (TUserOrgInfo) TableName() string { FILE: models/t_yml_plugin.go type TYmlPlugin (line 3) | type TYmlPlugin struct FILE: models/t_yml_template.go type TYmlTemplate (line 3) | type TYmlTemplate struct FILE: route/api.go type ApiController (line 16) | type ApiController struct method GetPath (line 18) | func (ApiController) GetPath() string { method Routes (line 21) | func (c *ApiController) Routes(g gin.IRoutes) { method hello (line 25) | func (ApiController) hello(c *gin.Context) { method test (line 28) | func (ApiController) test(c *gin.Context) { function prebuild (line 66) | func prebuild(b *runtime.Build) error { FILE: route/artifact.go type ArtifactController (line 25) | type ArtifactController struct method GetPath (line 27) | func (ArtifactController) GetPath() string { method Routes (line 30) | func (c *ArtifactController) Routes(g gin.IRoutes) { method orgList (line 43) | func (ArtifactController) orgList(c *gin.Context, m *hbtp.Map) { method info (line 96) | func (ArtifactController) info(c *gin.Context, m *hbtp.Map) { method edit (line 127) | func (ArtifactController) edit(c *gin.Context, m *hbtp.Map) { method rm (line 196) | func (ArtifactController) rm(c *gin.Context, m *hbtp.Map) { method packageList (line 224) | func (ArtifactController) packageList(c *gin.Context, m *hbtp.Map) { method versionList (line 254) | func (ArtifactController) versionList(c *gin.Context, m *hbtp.Map) { method versionInfos (line 284) | func (ArtifactController) versionInfos(c *gin.Context, m *hbtp.Map) { method versionUrl (line 318) | func (ArtifactController) versionUrl(c *gin.Context, m *hbtp.Map) { method versionSave (line 353) | func (ArtifactController) versionSave(c *gin.Context, m *hbtp.Map) { method versionRm (line 388) | func (ArtifactController) versionRm(c *gin.Context, m *hbtp.Map) { FILE: route/artpub.go type ArtPublicController (line 20) | type ArtPublicController struct method GetPath (line 22) | func (ArtPublicController) GetPath() string { method Routes (line 25) | func (c *ArtPublicController) Routes(g gin.IRoutes) { method down (line 28) | func (ArtPublicController) down(c *gin.Context) { FILE: route/hook.go type HookController (line 13) | type HookController struct method GetPath (line 16) | func (HookController) GetPath() string { method Routes (line 19) | func (c *HookController) Routes(g gin.IRoutes) { method hooks (line 23) | func (HookController) hooks(c *gin.Context) { method web (line 46) | func (HookController) web(c *gin.Context, m *hbtp.Map) { FILE: route/install.go type installConfig (line 23) | type installConfig struct type InstallController (line 39) | type InstallController struct method GetPath (line 41) | func (InstallController) GetPath() string { method auth (line 44) | func (cs *InstallController) auth(c *gin.Context) { method Routes (line 51) | func (cs *InstallController) Routes(g gin.IRoutes) { method check (line 56) | func (InstallController) check(c *gin.Context) { method install (line 73) | func (InstallController) install(c *gin.Context, m *installConfig) { function checkUrl (line 59) | func checkUrl(host string) bool { function initConfig (line 147) | func initConfig() error { function Install (line 155) | func Install(c *gin.Context) { FILE: route/login.go type LoginController (line 19) | type LoginController struct method GetPath (line 21) | func (LoginController) GetPath() string { method Routes (line 24) | func (c *LoginController) Routes(g gin.IRoutes) { method info (line 28) | func (LoginController) info(c *gin.Context) { method login (line 46) | func (LoginController) login(c *gin.Context, m *bean.LoginReq) { FILE: route/org.go type OrgController (line 18) | type OrgController struct method GetPath (line 20) | func (OrgController) GetPath() string { method Routes (line 23) | func (c *OrgController) Routes(g gin.IRoutes) { method list (line 37) | func (OrgController) list(c *gin.Context, m *hbtp.Map) { method new (line 97) | func (OrgController) new(c *gin.Context, m *hbtp.Map) { method info (line 136) | func (OrgController) info(c *gin.Context, m *hbtp.Map) { method users (line 172) | func (OrgController) users(c *gin.Context, m *hbtp.Map) { method save (line 215) | func (OrgController) save(c *gin.Context, m *hbtp.Map) { method rm (line 252) | func (OrgController) rm(c *gin.Context, m *hbtp.Map) { method userEdit (line 276) | func (OrgController) userEdit(c *gin.Context, m *hbtp.Map) { method userRm (line 353) | func (OrgController) userRm(c *gin.Context, m *hbtp.Map) { method pipeAdd (line 389) | func (OrgController) pipeAdd(c *gin.Context, m *hbtp.Map) { method pipeRm (line 418) | func (OrgController) pipeRm(c *gin.Context, m *hbtp.Map) { FILE: route/pipeline.go type PipelineController (line 21) | type PipelineController struct method GetPath (line 23) | func (PipelineController) GetPath() string { method Routes (line 26) | func (c *PipelineController) Routes(g gin.IRoutes) { method orgPipelines (line 44) | func (PipelineController) orgPipelines(c *gin.Context, m *hbtp.Map) { method getPipelines (line 104) | func (PipelineController) getPipelines(c *gin.Context, m *hbtp.Map) { method save (line 151) | func (PipelineController) save(c *gin.Context, m *hbtp.Map) { method delete (line 198) | func (PipelineController) delete(c *gin.Context, m *hbtp.Map) { method new (line 233) | func (PipelineController) new(c *gin.Context, npipe *bean.NewPipeline) { method info (line 327) | func (PipelineController) info(c *gin.Context, m *hbtp.Map) { method run (line 375) | func (PipelineController) run(c *gin.Context, m *hbtp.Map) { method copy (line 401) | func (PipelineController) copy(c *gin.Context, m *hbtp.Map) { method rebuild (line 457) | func (PipelineController) rebuild(c *gin.Context, m *hbtp.Map) { method pipelineVersions (line 488) | func (PipelineController) pipelineVersions(c *gin.Context, m *hbtp.Map) { method pipelineVersion (line 550) | func (PipelineController) pipelineVersion(c *gin.Context, m *hbtp.Map) { method searchSha (line 603) | func (PipelineController) searchSha(c *gin.Context, m *hbtp.Map) { method vars (line 642) | func (PipelineController) vars(c *gin.Context, m *hbtp.Map) { method varSave (line 683) | func (PipelineController) varSave(c *gin.Context, pv *bean.PipelineVar) { method varDel (line 736) | func (PipelineController) varDel(c *gin.Context, m *hbtp.Map) { FILE: route/pipelineversion.go type PipelineVersionController (line 12) | type PipelineVersionController struct method GetPath (line 14) | func (PipelineVersionController) GetPath() string { method Routes (line 17) | func (c *PipelineVersionController) Routes(g gin.IRoutes) { method delete (line 22) | func (PipelineVersionController) delete(c *gin.Context, m *hbtp.Map) { FILE: route/runtime.go type RuntimeController (line 20) | type RuntimeController struct method GetPath (line 22) | func (RuntimeController) GetPath() string { method Routes (line 25) | func (c *RuntimeController) Routes(g gin.IRoutes) { method stages (line 33) | func (RuntimeController) stages(c *gin.Context, m *hbtp.Map) { method cmds (line 70) | func (RuntimeController) cmds(c *gin.Context, m *hbtp.Map) { method build (line 97) | func (RuntimeController) build(c *gin.Context, m *hbtp.Map) { method cancel (line 118) | func (RuntimeController) cancel(c *gin.Context, m *hbtp.Map) { method logs (line 143) | func (RuntimeController) logs(c *gin.Context, m *hbtp.Map) { FILE: route/trigger.go type TriggerController (line 18) | type TriggerController struct method GetPath (line 20) | func (TriggerController) GetPath() string { method Routes (line 23) | func (c *TriggerController) Routes(g gin.IRoutes) { method triggers (line 31) | func (TriggerController) triggers(c *gin.Context, m *hbtp.Map) { method save (line 82) | func (TriggerController) save(c *gin.Context, tp *bean.TriggerParam) { method delete (line 129) | func (TriggerController) delete(c *gin.Context, m *hbtp.Map) { method runs (line 165) | func (TriggerController) runs(c *gin.Context, m *hbtp.Map) { FILE: route/user.go type UserController (line 16) | type UserController struct method GetPath (line 18) | func (UserController) GetPath() string { method Routes (line 21) | func (c *UserController) Routes(g gin.IRoutes) { method page (line 31) | func (UserController) page(c *gin.Context, m *hbtp.Map) { method new (line 48) | func (UserController) new(c *gin.Context, m *hbtp.Map) { method info (line 98) | func (UserController) info(c *gin.Context, m *hbtp.Map) { method upinfo (line 116) | func (UserController) upinfo(c *gin.Context, m *hbtp.Map) { method upass (line 161) | func (UserController) upass(c *gin.Context, m *hbtp.Map) { method active (line 208) | func (UserController) active(c *gin.Context, m *hbtp.Map) { method perm (line 239) | func (UserController) perm(c *gin.Context, m *hbtp.Map) { FILE: route/yml.go type YmlController (line 10) | type YmlController struct method GetPath (line 12) | func (YmlController) GetPath() string { method Routes (line 15) | func (c *YmlController) Routes(g gin.IRoutes) { method templates (line 19) | func (YmlController) templates(c *gin.Context) { method plugins (line 25) | func (YmlController) plugins(c *gin.Context) { FILE: ruis_test.go function Test1 (line 7) | func Test1(t *testing.T) { FILE: server/db.go function initDb (line 15) | func initDb() error { function initCache (line 42) | func initCache() error { FILE: server/hbtp.go function runHbtp (line 10) | func runHbtp() { FILE: server/server.go function Run (line 22) | func Run() error { function parseConfig (line 73) | func parseConfig() error { FILE: server/web.go function runWeb (line 24) | func runWeb() { function regApi (line 41) | func regApi() { function midUiHandle (line 58) | func midUiHandle(c *gin.Context) { function getRdr (line 118) | func getRdr() (*zip.Reader, error) { function getFile (line 134) | func getFile(pth string) (*zip.File, error) { FILE: service/db.go function GetIdOrAid (line 5) | func GetIdOrAid(id interface{}, e interface{}) bool { FILE: service/hook.go function TriggerHook (line 21) | func TriggerHook(tt *model.TTrigger, req *http.Request) (rb *runtime.Bui... function TriggerWeb (line 107) | func TriggerWeb(tt *model.TTrigger, secret string) (rb *runtime.Build, e... function TriggerTimer (line 155) | func TriggerTimer(tt *model.TTrigger) (rb *runtime.Build, err error) { function parseHook (line 180) | func parseHook(hookType string, req *http.Request, secret string) (hook.... FILE: service/mid.go constant LgUserKey (line 8) | LgUserKey = "lguser" function MidUserCheck (line 10) | func MidUserCheck(c *gin.Context) { function GetMidLgUser (line 19) | func GetMidLgUser(c *gin.Context) *model.TUser { FILE: service/param.go function FindParam (line 12) | func FindParam(key string) (*model.TParam, bool) { function SetParam (line 20) | func SetParam(key string, data []byte, tit ...string) error { function SetsParam (line 37) | func SetsParam(key string, data interface{}, tit ...string) error { function GetParam (line 48) | func GetParam(key string) ([]byte, error) { function GetsParam (line 55) | func GetsParam(key string, data interface{}) error { function GetsParamCache (line 66) | func GetsParamCache(key string, data interface{}, outm ...time.Duration)... FILE: service/perms.go function CheckPermission (line 8) | func CheckPermission(uid string, perms string) bool { function CheckUPermission (line 15) | func CheckUPermission(usr *model.TUser, perms string) bool { function CheckCurrPermission (line 26) | func CheckCurrPermission(c *gin.Context, perms string) bool { FILE: service/pipeline.go function Run (line 18) | func Run(uid, pipeId, sha, event string) (*model.TPipelineVersion, *runt... function ReBuild (line 35) | func ReBuild(uid string, tvp *model.TPipelineVersion) (*model.TPipelineV... function preBuild (line 52) | func preBuild(uid string, pipe *bean.Pipeline, tpipe *model.TPipelineCon... function convertVar (line 223) | func convertVar(pipelineId string, vm map[string]string) (map[string]*ru... function replaceStages (line 253) | func replaceStages(stages []*bean.Stage, mVars map[string]*runtime.Varia... function replaceStage (line 258) | func replaceStage(stage *bean.Stage, mVars map[string]*runtime.Variables) { function replaceSteps (line 269) | func replaceSteps(steps []*bean.Step, mVars map[string]*runtime.Variable... function replaceStep (line 274) | func replaceStep(step *bean.Step, mVars map[string]*runtime.Variables) { function replaceMaps (line 291) | func replaceMaps(envs map[string]string, mVars map[string]*runtime.Varia... function replace (line 300) | func replace(s string, mVars map[string]*runtime.Variables, mustShow ...... FILE: service/trigger.go function TriggerPerm (line 8) | func TriggerPerm(tt *model.TTrigger) error { FILE: service/user.go function GetUser (line 12) | func GetUser(uid string) (*model.TUser, bool) { function GetUserInfo (line 23) | func GetUserInfo(uid string) (*model.TUserInfo, bool) { function FindUserName (line 34) | func FindUserName(name string) (*model.TUser, bool) { function ClearUserCache (line 43) | func ClearUserCache(uid string) { function GetUserCache (line 50) | func GetUserCache(uid string) (*model.TUser, bool) { function CurrUserCache (line 64) | func CurrUserCache(c *gin.Context) (*model.TUser, bool) { function IsAdmin (line 84) | func IsAdmin(usr *model.TUser) bool { function IsOrgAdmin (line 87) | func IsOrgAdmin(uid, orgId string) bool { function GetUsePermRwr (line 94) | func GetUsePermRwr(uid, orgId string) int { function HasOrgExec (line 101) | func HasOrgExec(uid, orgId string) bool { function GetUserOrg (line 108) | func GetUserOrg(uid, orgId string) (*model.TUserOrg, bool) { type OrgPerm (line 125) | type OrgPerm struct method IsAdmin (line 150) | func (c *OrgPerm) IsAdmin() bool { method IsOrgOwner (line 156) | func (c *OrgPerm) IsOrgOwner() bool { method IsOrgPublic (line 162) | func (c *OrgPerm) IsOrgPublic() bool { method IsOrgAdmin (line 168) | func (c *OrgPerm) IsOrgAdmin() bool { method CanRead (line 177) | func (c *OrgPerm) CanRead() bool { method CanWrite (line 183) | func (c *OrgPerm) CanWrite() bool { method CanDownload (line 192) | func (c *OrgPerm) CanDownload() bool { method CanExec (line 201) | func (c *OrgPerm) CanExec() bool { method LgUser (line 212) | func (c *OrgPerm) LgUser() *model.TUser { method Org (line 217) | func (c *OrgPerm) Org() *model.TOrg { method UserOrg (line 222) | func (c *OrgPerm) UserOrg() *model.TUserOrg { function NewOrgPerm (line 131) | func NewOrgPerm(lgusr *model.TUser, orgId string) *OrgPerm { type UserPipeOrgPerm (line 226) | type UserPipeOrgPerm struct type PipePerm (line 237) | type PipePerm struct method IsAdmin (line 266) | func (c *PipePerm) IsAdmin() bool { method IsPipeOwner (line 272) | func (c *PipePerm) IsPipeOwner() bool { method CanRead (line 278) | func (c *PipePerm) CanRead() bool { method CanWrite (line 295) | func (c *PipePerm) CanWrite() bool { method CanExec (line 309) | func (c *PipePerm) CanExec() bool { method LgUser (line 325) | func (c *PipePerm) LgUser() *model.TUser { method Pipeline (line 330) | func (c *PipePerm) Pipeline() *model.TPipeline { function NewPipePerm (line 243) | func NewPipePerm(lgusr *model.TUser, pipeId string) *PipePerm { FILE: thirdapi/client.go type Client (line 8) | type Client struct FILE: thirdapi/giteaapi/gitea.go function New (line 10) | func New(uri string) (*thirdapi.Client, error) { function NewDefault (line 25) | func NewDefault() *thirdapi.Client { type wrapper (line 30) | type wrapper struct FILE: thirdapi/giteaapi/giteaapi.go constant BaseApiGitea (line 5) | BaseApiGitea = "https://api.gitea.com" constant ApiGiteaCreateFile (line 9) | ApiGiteaCreateFile = "/repos/%s/%s/contents/%s" constant ApiGiteaGetRepos (line 14) | ApiGiteaGetRepos = "/user/repos?page=%v&limit=%v" constant ApiGiteaCreateHooks (line 19) | ApiGiteaCreateHooks = "/repos/%s/%s/hooks" constant ApiGiteaGetHooks (line 23) | ApiGiteaGetHooks = "/repos/%s/%s/hooks?page=%v&limit=%v" constant ApiGiteaDeleteHooks (line 28) | ApiGiteaDeleteHooks = "/repos/%s/%s/hooks/%v" constant ApiGiteaGetRepoBranches (line 32) | ApiGiteaGetRepoBranches = "/repos/%s/%s/branches?page=1&limit=30" constant ApiGiteaGetPullRequest (line 35) | ApiGiteaGetPullRequest = "/repos/%s/%s/pulls/%v" FILE: thirdapi/giteaapi/giteaapi_test.go function TestGiteeContents (line 10) | func TestGiteeContents(t *testing.T) { function TestGiteeCode (line 25) | func TestGiteeCode(t *testing.T) { FILE: thirdapi/giteaapi/repositoryservice.go type RepositoryService (line 16) | type RepositoryService struct method GetRepos (line 33) | func (s *RepositoryService) GetRepos(accessToken, username, types, sor... method DeleteHooks (line 88) | func (s *RepositoryService) DeleteHooks(accessToken, owner, repo, hook... method CreateWebHooks (line 127) | func (s *RepositoryService) CreateWebHooks(accessToken, owner, repo, b... method GetRepoBranches (line 179) | func (s *RepositoryService) GetRepoBranches(accessToken, owner, repo s... method GetPullQuest (line 217) | func (s *RepositoryService) GetPullQuest(accessToken, owner, repo stri... method GetWebHooks (line 250) | func (s *RepositoryService) GetWebHooks(accessToken, owner, repo strin... function convertRepositoryList (line 288) | func convertRepositoryList(ls []*thirdbean.ResultGiteaRepo) []*thirdapi.... function convertRepository (line 296) | func convertRepository(from *thirdbean.ResultGiteaRepo) *thirdapi.Reposi... function convertBranchList (line 308) | func convertBranchList(ls []*thirdbean.ResultGiteaRepoBranch) []*thirdap... function convertBranch (line 316) | func convertBranch(from *thirdbean.ResultGiteaRepoBranch) *thirdapi.Repo... function convertHookList (line 321) | func convertHookList(ls []*thirdbean.ResultGetGiteaHook) []*thirdapi.Rep... function convertHook (line 329) | func convertHook(from *thirdbean.ResultGetGiteaHook) *thirdapi.Repositor... FILE: thirdapi/giteeapi/gitee.go function New (line 11) | func New(uri string) (*thirdapi.Client, error) { function NewDefault (line 29) | func NewDefault() *thirdapi.Client { type wrapper (line 34) | type wrapper struct FILE: thirdapi/giteeapi/giteeapi.go constant BaseApiGitee (line 5) | BaseApiGitee = "https://gitee.com/api/v5" constant ApiGiteeCreateFile (line 10) | ApiGiteeCreateFile = "/repos/%s/%s/contents/%v" constant ApiGiteeGetRepos (line 15) | ApiGiteeGetRepos = "/user/repos?access_token=%s&type=%v&sort=%v&directio... constant ApiGiteeCreateHooks (line 20) | ApiGiteeCreateHooks = "/repos/%s/%s/hooks" constant ApiGiteeGetHooks (line 24) | ApiGiteeGetHooks = "/repos/%s/%s/hooks?access_token=%s&page=%v&per_page=%v" constant ApiGiteeDeleteHooks (line 29) | ApiGiteeDeleteHooks = "/repos/%s/%s/hooks/%v?access_token=%s" constant ApiGiteeGetRepoBranches (line 33) | ApiGiteeGetRepoBranches = "/repos/%s/%s/branches?access_token=%s" FILE: thirdapi/giteeapi/giteeapi_test.go function TestGiteeCreateFile (line 25) | func TestGiteeCreateFile(t *testing.T) { FILE: thirdapi/giteeapi/repositoryservice.go type RepositoryService (line 17) | type RepositoryService struct method GetRepos (line 34) | func (s *RepositoryService) GetRepos(accessToken, username, types, sor... method DeleteHooks (line 83) | func (s *RepositoryService) DeleteHooks(accessToken, owner, repo, hook... method CreateWebHooks (line 121) | func (s *RepositoryService) CreateWebHooks(accessToken, owner, repo, b... method GetRepoBranches (line 165) | func (s *RepositoryService) GetRepoBranches(accessToken, owner, repo s... method GetWebHooks (line 203) | func (s *RepositoryService) GetWebHooks(accessToken, owner, repo strin... function convertHookList (line 239) | func convertHookList(ls []*thirdbean.ResultGetGiteeHook) []*thirdapi.Rep... function convertHook (line 247) | func convertHook(from *thirdbean.ResultGetGiteeHook) *thirdapi.Repositor... function convertBranchList (line 255) | func convertBranchList(ls []*thirdbean.ResultGiteeRepoBranch) []*thirdap... function convertBranch (line 263) | func convertBranch(from *thirdbean.ResultGiteeRepoBranch) *thirdapi.Repo... function convertRepositoryList (line 269) | func convertRepositoryList(ls []*thirdbean.ResultGiteeRepo) []*thirdapi.... function convertRepository (line 277) | func convertRepository(from *thirdbean.ResultGiteeRepo) *thirdapi.Reposi... FILE: thirdapi/giteepremiumapi/giteepremium.go function New (line 11) | func New(uri string) (*thirdapi.Client, error) { function NewDefault (line 29) | func NewDefault() *thirdapi.Client { type wrapper (line 34) | type wrapper struct FILE: thirdapi/giteepremiumapi/giteepremiumapi.go constant BaseApiGiteePremium (line 5) | BaseApiGiteePremium = "https://gitee.com/api/v5" constant ApiGiteePremiumCreateFile (line 10) | ApiGiteePremiumCreateFile = "/repos/%s/%s/contents/%v" constant ApiGiteePremiumGetRepos (line 15) | ApiGiteePremiumGetRepos = "/user/repos?access_token=%s&type=%v&sort=%v&d... constant ApiGiteePremiumCreateHooks (line 20) | ApiGiteePremiumCreateHooks = "/repos/%s/%s/hooks" constant ApiGiteePremiumGetHooks (line 24) | ApiGiteePremiumGetHooks = "/repos/%s/%s/hooks?access_token=%s&page=%v&pe... constant ApiGiteePremiumDeleteHooks (line 29) | ApiGiteePremiumDeleteHooks = "/repos/%s/%s/hooks/%v?access_token=%s" constant ApiGiteePremiumGetRepoBranches (line 33) | ApiGiteePremiumGetRepoBranches = "/repos/%s/%s/branches?access_token=%s" FILE: thirdapi/giteepremiumapi/repositoryservice.go type RepositoryService (line 17) | type RepositoryService struct method GetRepos (line 34) | func (s *RepositoryService) GetRepos(accessToken, username, types, sor... method DeleteHooks (line 83) | func (s *RepositoryService) DeleteHooks(accessToken, owner, repo, hook... method CreateWebHooks (line 121) | func (s *RepositoryService) CreateWebHooks(accessToken, owner, repo, b... method GetRepoBranches (line 165) | func (s *RepositoryService) GetRepoBranches(accessToken, owner, repo s... method GetWebHooks (line 203) | func (s *RepositoryService) GetWebHooks(accessToken, owner, repo strin... function convertHookList (line 239) | func convertHookList(ls []*thirdbean.ResultGetGiteePremiumHook) []*third... function convertHook (line 247) | func convertHook(from *thirdbean.ResultGetGiteePremiumHook) *thirdapi.Re... function convertBranchList (line 255) | func convertBranchList(ls []*thirdbean.ResultGiteePremiumRepoBranch) []*... function convertBranch (line 263) | func convertBranch(from *thirdbean.ResultGiteePremiumRepoBranch) *thirda... function convertRepositoryList (line 269) | func convertRepositoryList(ls []*thirdbean.ResultGiteePremiumRepo) []*th... function convertRepository (line 277) | func convertRepository(from *thirdbean.ResultGiteePremiumRepo) *thirdapi... FILE: thirdapi/githubapi/github.go function New (line 10) | func New(uri string) (*thirdapi.Client, error) { function NewDefault (line 25) | func NewDefault() *thirdapi.Client { type wrapper (line 30) | type wrapper struct FILE: thirdapi/githubapi/githubapi.go constant BaseApiGithub (line 5) | BaseApiGithub = "https://api.github.com" constant ApiGithubCreateFile (line 9) | ApiGithubCreateFile = "/repos/%s/%s/contents/%s" constant ApiGithubGetRepos (line 14) | ApiGithubGetRepos = "/user/repos?type=%v&sort=%v&direction=%v&page=%v&pe... constant ApiGithubCreateHooks (line 19) | ApiGithubCreateHooks = "/repos/%s/%s/hooks" constant ApiGithubGetHooks (line 23) | ApiGithubGetHooks = "/repos/%s/%s/hooks?page=%v&per_page=%v" constant ApiGithubDeleteHooks (line 28) | ApiGithubDeleteHooks = "/repos/%s/%s/hooks/%v" constant ApiGithubGetRepoBranches (line 32) | ApiGithubGetRepoBranches = "/repos/%s/%s/branches?per_page=100" FILE: thirdapi/githubapi/githubapi_test.go function TestGiteeContents (line 10) | func TestGiteeContents(t *testing.T) { function TestGiteeCode (line 25) | func TestGiteeCode(t *testing.T) { FILE: thirdapi/githubapi/repositoryservice.go type RepositoryService (line 18) | type RepositoryService struct method GetRepos (line 35) | func (s *RepositoryService) GetRepos(accessToken, username, types, sor... method DeleteHooks (line 96) | func (s *RepositoryService) DeleteHooks(accessToken, owner, repo, hook... method CreateWebHooks (line 135) | func (s *RepositoryService) CreateWebHooks(accessToken, owner, repo, b... method GetRepoBranches (line 186) | func (s *RepositoryService) GetRepoBranches(accessToken, owner, repo s... method GetWebHooks (line 224) | func (s *RepositoryService) GetWebHooks(accessToken, owner, repo strin... function convertRepositoryList (line 262) | func convertRepositoryList(ls []*thirdbean.ResultGithubRepo) []*thirdapi... function convertRepository (line 270) | func convertRepository(from *thirdbean.ResultGithubRepo) *thirdapi.Repos... function convertBranchList (line 282) | func convertBranchList(ls []*thirdbean.ResultGithubRepoBranch) []*thirda... function convertBranch (line 290) | func convertBranch(from *thirdbean.ResultGithubRepoBranch) *thirdapi.Rep... function convertHookList (line 295) | func convertHookList(ls []*thirdbean.ResultGetGithubHook) []*thirdapi.Re... function convertHook (line 303) | func convertHook(from *thirdbean.ResultGetGithubHook) *thirdapi.Reposito... FILE: thirdapi/gitlabapi/gitlab.go function New (line 10) | func New(uri string) (*thirdapi.Client, error) { function NewDefault (line 25) | func NewDefault() *thirdapi.Client { type wrapper (line 30) | type wrapper struct FILE: thirdapi/gitlabapi/gitlabapi.go constant BaseApiGitlab (line 5) | BaseApiGitlab = "https://gitlab.com/api/v4" constant ApiGitlabCreateFile (line 9) | ApiGitlabCreateFile = "/repos/%s/%s/contents/%s" constant ApiGitlabGetRepos (line 14) | ApiGitlabGetRepos = "/users/%s/projects?type=%v&page=%v&per_page=%v" constant ApiGitlabCreateHooks (line 19) | ApiGitlabCreateHooks = "/projects/%s/hooks" constant ApiGitlabGetHooks (line 23) | ApiGitlabGetHooks = "/projects/%s/hooks?page=%v&per_page=%v" constant ApiGitlabDeleteHooks (line 28) | ApiGitlabDeleteHooks = "/projects/%s/hooks/%v" constant ApiGitlabGetRepoBranches (line 32) | ApiGitlabGetRepoBranches = "/projects/%v/repository/branches" FILE: thirdapi/gitlabapi/gitlabapi_test.go function TestGiteeContents (line 10) | func TestGiteeContents(t *testing.T) { function TestGiteeCode (line 25) | func TestGiteeCode(t *testing.T) { FILE: thirdapi/gitlabapi/repositoryservice.go type RepositoryService (line 17) | type RepositoryService struct method GetRepos (line 21) | func (s *RepositoryService) GetRepos(accessToken, username, types, sor... method DeleteHooks (line 71) | func (s *RepositoryService) DeleteHooks(accessToken, owner, repo, hook... method CreateWebHooks (line 111) | func (s *RepositoryService) CreateWebHooks(accessToken, owner, repo, b... method GetRepoBranches (line 161) | func (s *RepositoryService) GetRepoBranches(accessToken, owner, repo s... method GetWebHooks (line 200) | func (s *RepositoryService) GetWebHooks(accessToken, owner, repo strin... function convertRepositoryList (line 239) | func convertRepositoryList(ls []*thirdbean.ResultGitlabRepo) []*thirdapi... function convertRepository (line 247) | func convertRepository(from *thirdbean.ResultGitlabRepo) *thirdapi.Repos... function convertBranchList (line 259) | func convertBranchList(ls []*thirdbean.ResultGitlabRepoBranch) []*thirda... function convertBranch (line 267) | func convertBranch(from *thirdbean.ResultGitlabRepoBranch) *thirdapi.Rep... function convertHookList (line 272) | func convertHookList(ls []*thirdbean.ResultGetGitlabHook) []*thirdapi.Re... function convertHook (line 280) | func convertHook(from *thirdbean.ResultGetGitlabHook) *thirdapi.Reposito... FILE: thirdapi/repo.go type Repository (line 5) | type Repository struct type RepositoryPage (line 16) | type RepositoryPage struct type RepositoryBranch (line 21) | type RepositoryBranch struct type RepositoryHook (line 25) | type RepositoryHook struct FILE: thirdapi/repositoryservice.go type RepositoryService (line 4) | type RepositoryService interface FILE: util/gin.go type GinController (line 12) | type GinController interface function GinRegController (line 17) | func GinRegController(g *gin.Engine, gc GinController) { function GinReqParseJson (line 31) | func GinReqParseJson(fn interface{}) gin.HandlerFunc { function MidAccessAllowFun (line 72) | func MidAccessAllowFun(c *gin.Context) { FILE: util/git.go function CloneRepo (line 10) | func CloneRepo(path string, option *git.CloneOptions, ctx context.Contex... function CheckOutHash (line 18) | func CheckOutHash(repository *git.Repository, hash string) error { function CheckOut (line 27) | func CheckOut(repository *git.Repository, option *git.CheckoutOptions) e... function GetLogsHash (line 39) | func GetLogsHash(repository *git.Repository, hash string) (object.Commit... function GetLogs (line 45) | func GetLogs(repository *git.Repository, option *git.LogOptions) (object... FILE: util/httpex/const.go function ResMsgUrl (line 48) | func ResMsgUrl(c *gin.Context, msg string, url ...string) { FILE: util/httpex/post.go function Post (line 15) | func Post(ul string, params *url.Values, timeout time.Duration, hds ...h... function Posts (line 33) | func Posts(ul string, params *url.Values, timeout time.Duration, hds ...... function PostJSON (line 60) | func PostJSON(ul string, params interface{}, timeout time.Duration, hds ... function PostResult (line 80) | func PostResult(ul string, params *url.Values, result interface{}, timeo... function PostJSONResult (line 97) | func PostJSONResult(ul string, params interface{}, result interface{}, t... FILE: util/token.go function CreateToken (line 13) | func CreateToken(claims jwt.MapClaims, key string, tmout time.Duration) ... function SetToken (line 25) | func SetToken(c *gin.Context, p jwt.MapClaims, key string, rem bool, dom... function ClearToken (line 51) | func ClearToken(c *gin.Context, doman ...string) error { function getToken (line 64) | func getToken(c *gin.Context) string { function getTokenAuth (line 71) | func getTokenAuth(c *gin.Context) string { function GetTokens (line 83) | func GetTokens(s string, key string) jwt.MapClaims { function GetToken (line 98) | func GetToken(c *gin.Context, key string) jwt.MapClaims {