Documentation ¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_HOST string = "bitbucket.org"
)
Variables ¶
This section is empty.
Functions ¶
func APIBranchingModel ¶
APIBranchingModel API Ref: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-branching-model/#api-group-branching-model Example: https://bitbucket.org/!api/2.0/repositories/matthyx/ks-testing-public/branching-model
Types ¶
type BitBucketAPI ¶
type BitBucketAPI struct {
// contains filtered or unexported fields
}
func NewBitBucketAPI ¶
func NewBitBucketAPI() *BitBucketAPI
func (*BitBucketAPI) GetDefaultBranchName ¶
func (gl *BitBucketAPI) GetDefaultBranchName(owner, repo string, headers *Headers) (string, error)
func (*BitBucketAPI) GetLatestCommit ¶
func (gl *BitBucketAPI) GetLatestCommit(owner, repo, branch string, headers *Headers) (*Commit, error)
func (*BitBucketAPI) GetRepoTree ¶
func (gl *BitBucketAPI) GetRepoTree(owner, repo, branch string, headers *Headers) (*Tree, error)
type IBitBucketAPI ¶
type ObjectType ¶
type ObjectType string
Click to show internal directories.
Click to hide internal directories.