mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
38 lines
651 B
Go
38 lines
651 B
Go
package vcs
|
|
|
|
const (
|
|
GitRemoteNameOrigin = "origin"
|
|
GitRemoteNameUpstream = "upstream"
|
|
GitRemoteNameCrawlab = "crawlab"
|
|
)
|
|
const GitDefaultRemoteName = GitRemoteNameOrigin
|
|
|
|
const (
|
|
GitBranchNameMaster = "master"
|
|
GitBranchNameMain = "main"
|
|
GitBranchNameRelease = "release"
|
|
GitBranchNameTest = "test"
|
|
GitBranchNameDevelop = "develop"
|
|
)
|
|
const GitDefaultBranchName = GitBranchNameMaster
|
|
|
|
type GitAuthType int
|
|
|
|
const (
|
|
GitAuthTypeNone GitAuthType = iota
|
|
GitAuthTypeHTTP
|
|
GitAuthTypeSSH
|
|
)
|
|
|
|
type GitInitType int
|
|
|
|
const (
|
|
GitInitTypeFs GitInitType = iota
|
|
GitInitTypeMem
|
|
)
|
|
|
|
const (
|
|
GitRefTypeBranch = "branch"
|
|
GitRefTypeTag = "tag"
|
|
)
|