bitbucket

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: BSD-3-Clause Imports: 17 Imported by: 2

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 added in v1.5.152

func NewWebHookService() scm.WebhookService

NewWebHookService creates a new instance of the webhook service without the rest of the client

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