Documentation ¶
Index ¶
- func New(configuration librepo.Configuration, logging librepo.Logging, ...) bbclientint.BitbucketClient
- type Impl
- func (c *Impl) AddProjectRepositoryCommitBuildStatus(ctx context.Context, projectKey string, repositorySlug string, commitId string, ...) error
- func (c *Impl) CreatePullRequestComment(ctx context.Context, projectKey string, repositorySlug string, ...) (bbclientint.PullRequestComment, error)
- func (c *Impl) GetBitbucketUser(ctx context.Context, username string) (repository.BitbucketUser, error)
- func (c *Impl) GetChanges(ctx context.Context, projectKey string, repositorySlug string, ...) (bbclientint.Changes, error)
- func (c *Impl) GetFileContentsAt(ctx context.Context, projectKey string, repositorySlug string, atHash string, ...) (string, error)
- func (c *Impl) GetPullRequest(ctx context.Context, projectKey string, repositorySlug string, ...) (bbclientint.PullRequest, error)
- func (c *Impl) Setup() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(configuration librepo.Configuration, logging librepo.Logging, vault librepo.Vault) bbclientint.BitbucketClient
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration config.CustomConfiguration Logging librepo.Logging Vault librepo.Vault Client aurestclientapi.Client NoRetryClient aurestclientapi.Client // contains filtered or unexported fields }
func (*Impl) AddProjectRepositoryCommitBuildStatus ¶ added in v0.38.0
func (c *Impl) AddProjectRepositoryCommitBuildStatus(ctx context.Context, projectKey string, repositorySlug string, commitId string, commitBuildStatusRequest bbclientint.CommitBuildStatusRequest) error
func (*Impl) CreatePullRequestComment ¶ added in v0.38.0
func (c *Impl) CreatePullRequestComment(ctx context.Context, projectKey string, repositorySlug string, pullRequestId int64, pullRequestCommentRequest bbclientint.PullRequestCommentRequest) (bbclientint.PullRequestComment, error)
func (*Impl) GetBitbucketUser ¶
func (c *Impl) GetBitbucketUser(ctx context.Context, username string) (repository.BitbucketUser, error)
func (*Impl) GetChanges ¶ added in v0.38.0
func (*Impl) GetFileContentsAt ¶ added in v0.38.0
func (*Impl) GetPullRequest ¶ added in v0.38.0
func (c *Impl) GetPullRequest(ctx context.Context, projectKey string, repositorySlug string, pullRequestId int32) (bbclientint.PullRequest, error)
Click to show internal directories.
Click to hide internal directories.