stash

package
v1.6.1-0...-04dee1e Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: BSD-2-Clause-Patent Imports: 17 Imported by: 0

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.

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