Documentation
¶
Index ¶
- type AuthType
- type BitbucketCloud
- func (bbc *BitbucketCloud) ClosePullRequest(_ context.Context, pr scm.PullRequest) error
- func (bbc *BitbucketCloud) CreatePullRequest(_ context.Context, _ scm.Repository, prRepo scm.Repository, ...) (scm.PullRequest, error)
- func (bbc *BitbucketCloud) ForkRepository(_ context.Context, repo scm.Repository, newOwner string) (scm.Repository, error)
- func (bbc *BitbucketCloud) GetOpenPullRequest(ctx context.Context, repo scm.Repository, branchName string) (scm.PullRequest, error)
- func (bbc *BitbucketCloud) GetPullRequests(ctx context.Context, branchName string) ([]scm.PullRequest, error)
- func (bbc *BitbucketCloud) GetRepositories(_ context.Context) ([]scm.Repository, error)
- func (bbc *BitbucketCloud) MergePullRequest(_ context.Context, pr scm.PullRequest) error
- func (bbc *BitbucketCloud) UpdatePullRequest(_ context.Context, _ scm.Repository, pullReq scm.PullRequest, ...) (scm.PullRequest, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthType ¶ added in v0.54.0
type AuthType int
AuthType defines the authentication method for Bitbucket Cloud
func ParseAuthType ¶ added in v0.54.0
ParseAuthType parses an auth type from a string
type BitbucketCloud ¶
type BitbucketCloud struct {
// contains filtered or unexported fields
}
func (*BitbucketCloud) ClosePullRequest ¶
func (bbc *BitbucketCloud) ClosePullRequest(_ context.Context, pr scm.PullRequest) error
func (*BitbucketCloud) CreatePullRequest ¶
func (bbc *BitbucketCloud) CreatePullRequest(_ context.Context, _ scm.Repository, prRepo scm.Repository, newPR scm.NewPullRequest) (scm.PullRequest, error)
func (*BitbucketCloud) ForkRepository ¶
func (bbc *BitbucketCloud) ForkRepository(_ context.Context, repo scm.Repository, newOwner string) (scm.Repository, error)
func (*BitbucketCloud) GetOpenPullRequest ¶
func (bbc *BitbucketCloud) GetOpenPullRequest(ctx context.Context, repo scm.Repository, branchName string) (scm.PullRequest, error)
func (*BitbucketCloud) GetPullRequests ¶
func (bbc *BitbucketCloud) GetPullRequests(ctx context.Context, branchName string) ([]scm.PullRequest, error)
func (*BitbucketCloud) GetRepositories ¶
func (bbc *BitbucketCloud) GetRepositories(_ context.Context) ([]scm.Repository, error)
func (*BitbucketCloud) MergePullRequest ¶
func (bbc *BitbucketCloud) MergePullRequest(_ context.Context, pr scm.PullRequest) error
func (*BitbucketCloud) UpdatePullRequest ¶
func (bbc *BitbucketCloud) UpdatePullRequest(_ context.Context, _ scm.Repository, pullReq scm.PullRequest, updatedPR scm.NewPullRequest) (scm.PullRequest, error)
Click to show internal directories.
Click to hide internal directories.