Documentation
¶
Index ¶
- func CreateRepository(repoSha, repository, mirrorVisibilityMode, sourceURL, projectName string) *bitbucket.Repository
- func FetchOwnerRepos(repoSha, owner, bitbucketRole string) []bitbucket.Repository
- func GenerateProjectKey(projectName string) string
- func ProjectExists(git *bitbucket.Client, repoSha string, workspace string, project string) bool
- func RepositoryExists(repoSha string, owner string, repository string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRepository ¶
func CreateRepository(repoSha, repository, mirrorVisibilityMode, sourceURL, projectName string) *bitbucket.Repository
CreateRepository - create bitbucket repository
func FetchOwnerRepos ¶
func FetchOwnerRepos(repoSha, owner, bitbucketRole string) []bitbucket.Repository
FetchOwnerRepos - fetch owner repositories via API
func GenerateProjectKey ¶
GenerateProjectKey - convert project name to project key
func ProjectExists ¶
ProjectExists - checks if bitbucket project exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.