bbc

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PasswordEnv = "BITBUCKET_PASSWORD"
View Source
const TokenEnv = "BITBUCKET_TOKEN"
View Source
const UsernameEnv = "BITBUCKET_USERNAME"

Variables

This section is empty.

Functions

func Fetch

func Fetch(FS billy.Filesystem, owner, repo, tag string, private bool) error

func FetchBranchZip

func FetchBranchZip(owner, repo, branch string) (*zip.Reader, error)

func FetchTagZip

func FetchTagZip(owner, repo, ver string) (*zip.Reader, error)

func GetBranch

func GetBranch(client *bitbucket.Client, owner, repo, branch string) (*bitbucket.RepositoryBranch, error)

func GetBranches

func GetBranches(client *bitbucket.Client, owner, repo, branch string) ([]bitbucket.RepositoryBranch, error)

func GetRepo

func GetRepo(client *bitbucket.Client, owner, repo string) (*bitbucket.Repository, error)

func GetTags

func GetTags(client *bitbucket.Client, owner, repo string) ([]bitbucket.RepositoryTag, error)

func GetTagsSplit

func GetTagsSplit(client *bitbucket.Client, module string) ([]bitbucket.RepositoryTag, error)

func NewClient

func NewClient() (client *bitbucket.Client, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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