bitbucket

package
v1.5.179 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package bitbucket implements a Bitbucket Cloud client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(uri string) (*scm.Client, error)

New returns a new Bitbucket API client.

func NewDefault

func NewDefault() *scm.Client

NewDefault returns a new Bitbucket API client using the default api.bitbucket.org address.

func NewWebHookService

func NewWebHookService() scm.WebhookService

Types

type Error

type Error struct {
	Type string `json:"type"`
	Data struct {
		Message string `json:"message"`
	} `json:"error"`
}

Error represents a Bitbucket error.

func (*Error) Error

func (e *Error) Error() string

Jump to

Keyboard shortcuts

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