stash

package
v1.11.19 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: BSD-3-Clause Imports: 18 Imported by: 2

Documentation

Overview

Package stash implements a Bitbucket Server 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 Stash API client.

func NewDefault

func NewDefault() *scm.Client

NewDefault returns a new Stash API client.

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 {
	Errors []struct {
		Message         string `json:"message"`
		ExceptionName   string `json:"exceptionName"`
		CurrentVersion  int    `json:"currentVersion"`
		ExpectedVersion int    `json:"expectedVersion"`
	} `json:"errors"`
}

Error represents a Stash 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