bbclient

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

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 (c *Impl) GetChanges(ctx context.Context, projectKey string, repositorySlug string, sinceHash string, untilHash string) (bbclientint.Changes, error)

func (*Impl) GetFileContentsAt added in v0.38.0

func (c *Impl) GetFileContentsAt(ctx context.Context, projectKey string, repositorySlug string, atHash string, path string) (string, error)

func (*Impl) GetPullRequest added in v0.38.0

func (c *Impl) GetPullRequest(ctx context.Context, projectKey string, repositorySlug string, pullRequestId int32) (bbclientint.PullRequest, error)

func (*Impl) Setup

func (c *Impl) Setup() error

Jump to

Keyboard shortcuts

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