bitbucket

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

func GenerateProjectKey(projectName string) string

GenerateProjectKey - convert project name to project key

func ProjectExists

func ProjectExists(git *bitbucket.Client, repoSha string, workspace string, project string) bool

ProjectExists - checks if bitbucket project exists

func RepositoryExists

func RepositoryExists(repoSha string, owner string, repository string) bool

RepositoryExists - checks if bitbucket repository exists

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL