Versions in this module Expand all Collapse all v0 v0.6.0 Oct 13, 2023 Changes in this version type Client + func (c Client) GetEffectiveDefaultReviewers(repoOrga string, repoSlug string) (*EffectiveDefaultReviewers, error) + type EffectiveDefaultReviewer struct + ReviewerType string + Type string + User *Account + type EffectiveDefaultReviewers struct + Values []*EffectiveDefaultReviewer v0.5.0 Aug 31, 2021 v0.4.1 Aug 7, 2021 v0.4.0 Jun 17, 2021 Changes in this version + type Change struct + New string + Old string type Client + func (c Client) IssuesComment(repoOrga string, repoSlug string, id string, message string) (*IssueComment, error) + func (c Client) IssuesCreate(repoOrga string, repoSlug string, options struct{ ... }) (*Issue, error) + func (c Client) IssuesDelete(repoOrga string, repoSlug string, id string) (interface{}, error) + func (c Client) IssuesEdit(repoOrga string, repoSlug string, id string, options struct{ ... }) (*Issue, error) + func (c Client) IssuesList(repoOrga string, repoSlug string, states []string, types []string, ...) (*ListIssues, error) + func (c Client) IssuesView(repoOrga string, repoSlug string, id string) (*Issue, error) + func (c Client) IssuesViewChanges(repoOrga string, repoSlug string, id string) (*IssueChanges, error) + func (c Client) IssuesViewComments(repoOrga string, repoSlug string, id string) (*IssueComments, error) + type Component struct + Links map[string]Link + Name string + type Issue struct + Assignee Account + Component Component + Content CommentContent + CreatedOn string + EditedOn string + ID int + Kind string + Links map[string]Link + Milestone Milestone + Priority string + Reporter Account + Repository Repository + State string + Title string + Type string + UpdatedOn string + Version Version + Votes int64 + Watches int64 + type IssueChange struct + Changes map[string]Change + CreatedOn string + ID int + Issue Issue + Links map[string]Link + Message CommentContent + Type string + User Account + type IssueChanges struct + Size int + Values []IssueChange + type IssueComment struct + Content CommentContent + CreatedOn string + ID int + Issue Issue + Links map[string]Link + Type string + UpdatedOn string + User Account + type IssueComments struct + Size int + Values []IssueComment + type ListIssues struct + Size int + Values []Issue + type Milestone struct + Links map[string]Link + Name string + type Version struct + Links map[string]Link + Name string v0.3.1 Apr 8, 2021 Changes in this version + type WorkspaceMembership struct + User Account + Workspace Workspace v0.3.0 Feb 25, 2021 Changes in this version + type Account struct + AccountID string + DisplayName string + Nickname string + Type string + UUID string + type Branch struct + Name string + type Client struct + Password string + Username string + func (c Client) DiffGet(repoOrga string, repoSlug string, spec string) (string, error) + func (c Client) GetBranch(repoOrga string, repoSlug string, branchName string) (*bitbucket.RepositoryBranch, error) + func (c Client) GetCommit(repoOrga string, repoSlug string, rev string) (*Commit, error) + func (c Client) GetCommits(repoOrga string, repoSlug string, branchOrTag string, include string, ...) (*Commits, error) + func (c Client) GetCurrentUser() (*bitbucket.User, error) + func (c Client) GetDefaultReviewers(repoOrga string, repoSlug string) (*DefaultReviewers, error) + func (c Client) GetDownloads(repoOrga string, repoSlug string) (*Downloads, error) + func (c Client) GetPrIDBySourceBranch(repoOrga string, repoSlug string, sourceBranch string) (*ListPullRequests, error) + func (c Client) GetReadmeContent(repoOrga string, repoSlug string, branch string) (string, error) + func (c Client) GetWorkspaceMembers(workspace string) (*Members, error) + func (c Client) GetWorkspaces() (*Workspaces, error) + func (c Client) PipelineGet(repoOrga string, repoSlug string, idOrUuid string) (*Pipeline, error) + func (c Client) PipelineList(repoOrga string, repoSlug string) (*[]Pipeline, error) + func (c Client) PipelineStepsList(repoOrga string, repoSlug, idOrUuid string) (*[]Step, error) + func (c Client) PipelinesLogs(repoOrga string, repoSlug, idOrUuid string, StepUuid string) (string, error) + func (c Client) PrApprove(repoOrga string, repoSlug string, id string) (*Participant, error) + func (c Client) PrComments(repoOrga string, repoSlug string, id string) (*Comments, error) + func (c Client) PrCommits(repoOrga string, repoSlug string, id string) (*Commits, error) + func (c Client) PrCreate(repoOrga string, repoSlug string, sourceBranch string, ...) (*PullRequest, error) + func (c Client) PrDefaultTitleAndBody(repoOrga string, repoSlug string, sourceBranch string, ...) (string, string, error) + func (c Client) PrList(repoOrga string, repoSlug string, states []string) (*ListPullRequests, error) + func (c Client) PrMerge(repoOrga string, repoSlug string, id string) (*PullRequest, error) + func (c Client) PrMergeWithCloseBranch(repoOrga string, repoSlug string, id string, closeBranch bool) (*PullRequest, error) + func (c Client) PrRequestChanges(repoOrga string, repoSlug string, id string) (*Participant, error) + func (c Client) PrStatuses(repoOrga string, repoSlug string, id string) (*Statuses, error) + func (c Client) PrThreadedComments(repoOrga string, repoSlug string, id string) ([]*Comment, error) + func (c Client) PrUnApprove(repoOrga string, repoSlug string, id string) error + func (c Client) PrUnRequestChanges(repoOrga string, repoSlug string, id string) error + func (c Client) PrView(repoOrga string, repoSlug string, id string) (*PullRequest, error) + func (c Client) RepositoriesForWorkspace(repoOrga string) ([]Repository, error) + func (c Client) RepositoryGet(repoOrga string, repoSlug string) (*Repository, error) + func (c Client) UploadDownload(repoOrga string, repoSlug string, fpath string) (*Download, error) + type Comment struct + Children []*Comment + Content CommentContent + CreatedOn string + Deleted bool + ID int + Inline CommentInline + Links map[string]interface{} + Parent CommentParent + PullRequest PullRequest + Type string + UpdatedOn string + User Account + type CommentContent struct + HTML string + Markup string + Raw string + Type string + type CommentInline struct + From int + Path string + To int + type CommentParent struct + Comment *Comment + ID int + type Comments struct + Values []*Comment + type Commit struct + Author map[string]interface{} + Hash string + Message string + Parents []*Commit + Repository *Repository + Type string + type Commits struct + Values []*Commit + type DefaultReviewers struct + Values []*Account + type Download struct + CreatedOn string + Downloads int + Links map[string]Link + Name string + Size int + Type string + User Account + type Downloads struct + Values []Download + type Link struct + Href string + type ListPullRequests struct + Next string + Page int + PageLen int + Previous string + Size int + Values []PullRequest + type Members struct + Values []Account + type Participant struct + Approved bool + ParticipatedOn string + Role string + State string + Type string + User Account + type Pipeline struct + BuildNumber int + BuildSecondsUsed int + CompletedOn string + CreatedOn string + Creator Account + DurationInSeconds int + Expired bool + FirstSuccessful bool + PipelineState PipelineState + RunNumber int + Target interface{} + Trigger PipelineTrigger + Type string + UUID string + type PipelineState struct + Name string + Result PipelineStateResult + Stage PipelineStateResult + Type string + type PipelineStateResult struct + Name string + Type string + type PipelineTrigger struct + Name string + Type string + type Project struct + Key string + Name string + type PullRequest struct + Author Account + CloseSourceBranch bool + CommentCount int + CreatedOn string + Description string + Destination Resource + ID int + Links map[string]Link + MergeCommit Commit + Participants []Participant + Reviewers []Account + Source Resource + State string + TaskCount int + Title string + Type string + type Repository struct + Description string + ForkPolicy string + FullName string + HasIssues bool + IsPrivate bool + Language string + Links map[string]interface{} + MainBranch *Branch + Name string + Owner *Account + Project Project + Size int + UUID string + type Resource struct + Branch Branch + Commit Commit + Repository Repository + type Status struct + CreatedOn string + Description string + Key string + Links map[string]interface{} + Name string + Refname string + State string + Type string + URL string + UUID string + UpdatedOn string + type Statuses struct + Next string + Page int + PageLen int + Previous string + Size int + Values []Status + type Step struct + BuildSecondsUsed int + CompletedOn string + CreatedOn string + DurationInSeconds int + Image StepImage + MaxTime int + Name string + Pipeline Pipeline + RunNumber int + ScriptCommands []StepCommand + SetupCommands []StepCommand + State PipelineState + TeardownCommands []StepCommand + Type string + UUID string + type StepCommand struct + Action string + Command string + CommandType string + Name string + type StepImage struct + Name string + type Workspace struct + CreatedOn string + IsPrivate bool + Links map[string]interface{} + Name string + Slug string + Type string + UUID string + type Workspaces struct + Workspaces []Workspace