bitbucket

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchPage

type BranchPage struct {
	Page
	Values []*scm.Branch `json:"values"`
}

type CreateProjectOpts

type CreateProjectOpts struct {
	Key  string `json:"key"`
	Name string `json:"name"`
}

type CreateRepoOpts

type CreateRepoOpts struct {
	Name string `json:"name"`
}

type Page

type Page struct {
	Size          int  `json:"size"`
	Limit         int  `json:"limit"`
	IsLastPage    bool `json:"isLastPage"`
	NextPageStart int  `json:"nextPageStart"`
}

type Repo

type Repo struct {
	Slug string `json:"slug"`
}

type RepoPage

type RepoPage struct {
	Page
	Values []Repo `json:"values"`
}

type SSHKey

type SSHKey struct {
	Key struct {
		Id    int    `json:"id"`
		Text  string `json:"text"`
		Label string `json:"label"`
	} `json:"key"`
	Permission string `json:"permission"`
}

type SSHKeyPage

type SSHKeyPage struct {
	Page
	Values []SSHKey `json:"values"`
}

type ServerErrors

type ServerErrors struct {
	Errors []struct {
		Context string `json:"context"`
		Message string `json:"message"`
	} `json:"errors"`
}

func (ServerErrors) Error

func (se ServerErrors) Error() string

Jump to

Keyboard shortcuts

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