-
Notifications
You must be signed in to change notification settings - Fork 785
/
constants.go
31 lines (26 loc) · 927 Bytes
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package gits
const (
// KindBitBucketCloud git kind for BitBucket Cloud
KindBitBucketCloud = "bitbucketcloud"
// KindBitBucketServer git kind for BitBucket Server
KindBitBucketServer = "bitbucketserver"
// KindGitea git kind for gitea
KindGitea = "gitea"
// KindGitlab git kind for gitlab
KindGitlab = "gitlab"
// KindGitHub git kind for github
KindGitHub = "github"
// KindGitFake git kind for fake git
KindGitFake = "fakegit"
// KindUnknown git kind for unknown git
KindUnknown = "unknown"
// BitbucketCloudURL the default URL for BitBucket Cloud
BitbucketCloudURL = "https://bitbucket.org"
// FakeGitURL the default URL for the fake git provider
FakeGitURL = "https://fake.git"
ProjectOpen = "open" // the state of an open project
ProjectClosed = "closed" // the stat of a closed project
)
var (
KindGits = []string{KindBitBucketCloud, KindBitBucketServer, KindGitea, KindGitHub, KindGitlab}
)