bitbucket

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

View Source
const (
	API_URL = "https://api.bitbucket.org"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BitBucket

type BitBucket struct {
	types.Vendor
}

func GetClient

func GetClient(token string) *BitBucket

func (*BitBucket) CreateHook

func (b *BitBucket) CreateHook(hookID, owner, repo, host string) (*string, error)

func (*BitBucket) GetUser

func (b *BitBucket) GetUser() (*types.User, error)

func (*BitBucket) ListBranches

func (b *BitBucket) ListBranches(owner, repo string) (*types.VCSBranches, error)

func (*BitBucket) ListRepositories

func (b *BitBucket) ListRepositories(username string, org bool) (*types.VCSRepositories, error)

func (*BitBucket) PushPayload

func (b *BitBucket) PushPayload(data []byte) (*types.VCSBranch, error)

func (*BitBucket) RemoveHook

func (b *BitBucket) RemoveHook(hookID, owner, repo string) error

func (*BitBucket) VendorInfo

func (b *BitBucket) VendorInfo() *types.Vendor

Jump to

Keyboard shortcuts

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