Versions in this module Expand all Collapse all v0 v0.3.0 Dec 9, 2017 Changes in this version + const DEFAULT_PAGE_LENGHT + func DecodeError(e map[string]interface{}) error + func GetApiBaseURL() string + func SetApiBaseURL(urlStr string) + type BitbucketError struct + Fields map[string][]string + Message string + type BranchRestrictions struct + func (b *BranchRestrictions) Create(bo *BranchRestrictionsOptions) (interface{}, error) + func (b *BranchRestrictions) Delete(bo *BranchRestrictionsOptions) (interface{}, error) + func (b *BranchRestrictions) Get(bo *BranchRestrictionsOptions) (interface{}, error) + func (b *BranchRestrictions) Gets(bo *BranchRestrictionsOptions) (interface{}, error) + func (b *BranchRestrictions) Update(bo *BranchRestrictionsOptions) (interface{}, error) + type BranchRestrictionsOptions struct + Full_slug string + Groups map[string]string + Id string + Kind string + Name string + Owner string + Pattern string + Repo_slug string + Users []string + Value interface{} + type Client struct + Auth *auth + Pagelen uint64 + Repositories *Repositories + Teams teams + User user + Users users + func NewBasicAuth(u, p string) *Client + func NewOAuth(i, s string) *Client + func (c *Client) Get(t string) (interface{}, error) + type Commits struct + func (cm *Commits) GetCommit(cmo *CommitsOptions) (interface{}, error) + func (cm *Commits) GetCommitComment(cmo *CommitsOptions) (interface{}, error) + func (cm *Commits) GetCommitComments(cmo *CommitsOptions) (interface{}, error) + func (cm *Commits) GetCommitStatus(cmo *CommitsOptions, commitStatusKey string) (interface{}, error) + func (cm *Commits) GetCommitStatuses(cmo *CommitsOptions) (interface{}, error) + func (cm *Commits) GetCommits(cmo *CommitsOptions) (interface{}, error) + func (cm *Commits) GiveApprove(cmo *CommitsOptions) (interface{}, error) + func (cm *Commits) RemoveApprove(cmo *CommitsOptions) (interface{}, error) + type CommitsOptions struct + Branchortag string + Comment_id string + Exclude string + Include string + Owner string + Repo_slug string + Revision string + type Diff struct + func (d *Diff) GetDiff(do *DiffOptions) (interface{}, error) + func (d *Diff) GetPatch(do *DiffOptions) (interface{}, error) + type DiffOptions struct + Owner string + Repo_slug string + Spec string + type Project struct + Key string + Name string + type PullRequests struct + func (p *PullRequests) Activities(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) Activity(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) Commits(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) Create(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) Decline(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) Diff(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) Get(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) GetComment(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) GetComments(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) Gets(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) Merge(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) Patch(po *PullRequestsOptions) (interface{}, error) + func (p *PullRequests) Update(po *PullRequestsOptions) (interface{}, error) + type PullRequestsOptions struct + Close_source_branch bool + Comment_id string + Description string + Destination_branch string + Destination_commit string + Id string + Message string + Owner string + Repo_slug string + Reviewers []string + Source_branch string + Source_repository string + Title string + type Repositories struct + BranchRestrictions *BranchRestrictions + Commits *Commits + Diff *Diff + PullRequests *PullRequests + Repository *Repository + Webhooks *Webhooks + func (r *Repositories) ListForAccount(ro *RepositoriesOptions) (interface{}, error) + func (r *Repositories) ListForTeam(ro *RepositoriesOptions) (interface{}, error) + func (r *Repositories) ListPublic() (interface{}, error) + type RepositoriesOptions struct + Owner string + Role string + Team string + type Repository struct + Description string + Fork_policy string + Full_name string + Links map[string]interface{} + Owner map[string]interface{} + Project Project + Slug string + Type string + func (r *Repository) Create(ro *RepositoryOptions) (*Repository, error) + func (r *Repository) Delete(ro *RepositoryOptions) (interface{}, error) + func (r *Repository) Get(ro *RepositoryOptions) (*Repository, error) + func (r *Repository) ListForks(ro *RepositoryOptions) (interface{}, error) + func (r *Repository) ListWatchers(ro *RepositoryOptions) (interface{}, error) + type RepositoryOptions struct + Description string + Fork_policy string + Has_issues string + Has_wiki string + Is_private string + Language string + Owner string + Project string + Repo_slug string + Scm string + type Teams struct + func (t *Teams) Followers(teamname string) (interface{}, error) + func (t *Teams) Following(teamname string) (interface{}, error) + func (t *Teams) List(role string) (interface{}, error) + func (t *Teams) Members(teamname string) (interface{}, error) + func (t *Teams) Profile(teamname string) (interface{}, error) + func (t *Teams) Repositories(teamname string) (interface{}, error) + type User struct + func (u *User) Emails() (interface{}, error) + func (u *User) Profile() (interface{}, error) + type Users struct + func (u *Users) Followers(t string) (interface{}, error) + func (u *Users) Following(t string) (interface{}, error) + func (u *Users) Get(t string) (interface{}, error) + func (u *Users) Repositories(t string) (interface{}, error) + type Webhooks struct + func (r *Webhooks) Create(ro *WebhooksOptions) (interface{}, error) + func (r *Webhooks) Delete(ro *WebhooksOptions) (interface{}, error) + func (r *Webhooks) Get(ro *WebhooksOptions) (interface{}, error) + func (r *Webhooks) Gets(ro *WebhooksOptions) (interface{}, error) + func (r *Webhooks) Update(ro *WebhooksOptions) (interface{}, error) + type WebhooksOptions struct + Active bool + Description string + Events []string + Owner string + Repo_slug string + Url string + Uuid string v0.2.1 Jan 26, 2017