github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/pkg/gits/constants.go (about) 1 package gits 2 3 const ( 4 // KindBitBucketCloud git kind for BitBucket Cloud 5 KindBitBucketCloud = "bitbucketcloud" 6 // KindBitBucketServer git kind for BitBucket Server 7 KindBitBucketServer = "bitbucketserver" 8 // KindGitea git kind for gitea 9 KindGitea = "gitea" 10 // KindGitlab git kind for gitlab 11 KindGitlab = "gitlab" 12 // KindGitHub git kind for github 13 KindGitHub = "github" 14 // KindGitFake git kind for fake git 15 KindGitFake = "fakegit" 16 // KindUnknown git kind for unknown git 17 KindUnknown = "unknown" 18 19 // BitbucketCloudURL the default URL for BitBucket Cloud 20 BitbucketCloudURL = "https://bitbucket.org" 21 22 // FakeGitURL the default URL for the fake git provider 23 FakeGitURL = "https://fake.git" 24 25 ProjectOpen = "open" // the state of an open project 26 ProjectClosed = "closed" // the stat of a closed project 27 ) 28 29 var ( 30 KindGits = []string{KindBitBucketCloud, KindBitBucketServer, KindGitea, KindGitHub, KindGitlab} 31 )