Documentation ¶
Index ¶
- Constants
- func New() repository.Bitbucket
- type BitbucketMock
- func (b *BitbucketMock) FilterExistingUsernames(ctx context.Context, usernames []string) ([]string, error)
- func (b *BitbucketMock) GetBitbucketUser(ctx context.Context, username string) (repository.BitbucketUser, error)
- func (b *BitbucketMock) GetBitbucketUsers(ctx context.Context, usernames []string) ([]repository.BitbucketUser, error)
- func (b *BitbucketMock) IsBitbucket() bool
- func (b *BitbucketMock) Setup() error
- func (b *BitbucketMock) SetupClient(ctx context.Context) error
Constants ¶
View Source
const FILTER_FAILED_USERNAME = "filterfailedusername"
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() repository.Bitbucket
Types ¶
type BitbucketMock ¶
type BitbucketMock struct { }
func (*BitbucketMock) FilterExistingUsernames ¶
func (*BitbucketMock) GetBitbucketUser ¶
func (b *BitbucketMock) GetBitbucketUser(ctx context.Context, username string) (repository.BitbucketUser, error)
func (*BitbucketMock) GetBitbucketUsers ¶
func (b *BitbucketMock) GetBitbucketUsers(ctx context.Context, usernames []string) ([]repository.BitbucketUser, error)
func (*BitbucketMock) IsBitbucket ¶
func (b *BitbucketMock) IsBitbucket() bool
func (*BitbucketMock) Setup ¶
func (b *BitbucketMock) Setup() error
func (*BitbucketMock) SetupClient ¶ added in v0.33.0
func (b *BitbucketMock) SetupClient(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.