bitbucket

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitbucketService

type BitbucketService struct{}

func NewBitbucketProvider

func NewBitbucketProvider() *BitbucketService

func (*BitbucketService) GetRepository

func (b *BitbucketService) GetRepository(
	ctx context.Context,
	owner, repo string,
	settings krci.GitServerSettings,
) (*models.Repository, error)

func (*BitbucketService) ListBranches

func (b *BitbucketService) ListBranches(
	ctx context.Context,
	owner, repo string,
	settings krci.GitServerSettings,
	_ models.ListOptions,
) ([]models.Branch, error)

ListBranches implements BranchesProvider for BitbucketService.

func (*BitbucketService) ListRepositories

func (b *BitbucketService) ListRepositories(
	ctx context.Context,
	account string,
	settings krci.GitServerSettings,
	listOptions models.ListOptions,
) ([]models.Repository, error)

func (*BitbucketService) ListUserOrganizations

func (b *BitbucketService) ListUserOrganizations(
	_ context.Context,
	settings krci.GitServerSettings,
) ([]models.Organization, error)

ListUserOrganizations returns workspaces for the authenticated user using go-bitbucket client

Jump to

Keyboard shortcuts

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