Documentation
¶
Index ¶
- func New(configuration librepo.Configuration, ...) repository.Bitbucket
- func Unique[T comparable](sliceList []T) []T
- type Impl
- func (r *Impl) AddCommitBuildStatus(ctx context.Context, commitHash string, url string, key string, success bool) error
- func (r *Impl) CreatePullRequestComment(ctx context.Context, pullRequestId int, comment string) error
- func (r *Impl) FilterExistingUsernames(ctx context.Context, usernames []string) ([]string, error)
- func (r *Impl) GetBitbucketUser(ctx context.Context, username string) (repository.BitbucketUser, error)
- func (r *Impl) GetBitbucketUsers(ctx context.Context, usernames []string) ([]repository.BitbucketUser, error)
- func (r *Impl) GetChangedFilesOnPullRequest(ctx context.Context, pullRequestId int) ([]repository.File, string, error)
- func (r *Impl) IsBitbucket() bool
- func (r *Impl) Setup() error
- func (r *Impl) SetupClient(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( configuration librepo.Configuration, customConfiguration config.CustomConfiguration, logging librepo.Logging, vault librepo.Vault, ) repository.Bitbucket
func Unique ¶
func Unique[T comparable](sliceList []T) []T
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration config.CustomConfiguration Logging librepo.Logging Vault librepo.Vault LowLevel bbclientint.BitbucketClient }
func (*Impl) AddCommitBuildStatus ¶ added in v0.38.0
func (*Impl) CreatePullRequestComment ¶ added in v0.38.0
func (*Impl) FilterExistingUsernames ¶
func (*Impl) GetBitbucketUser ¶
func (r *Impl) GetBitbucketUser(ctx context.Context, username string) (repository.BitbucketUser, error)
func (*Impl) GetBitbucketUsers ¶
func (r *Impl) GetBitbucketUsers(ctx context.Context, usernames []string) ([]repository.BitbucketUser, error)
func (*Impl) GetChangedFilesOnPullRequest ¶ added in v0.38.0
func (*Impl) IsBitbucket ¶
Click to show internal directories.
Click to hide internal directories.