bitbucketmock

package
v0.36.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 (b *BitbucketMock) FilterExistingUsernames(ctx context.Context, usernames []string) ([]string, error)

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

Jump to

Keyboard shortcuts

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