github

package
v0.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const TokenEnv = "GITHUB_TOKEN"

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(tag *github.RepositoryTag) (*zip.Reader, error)

func GetBranch

func GetBranch(client *github.Client, owner, repo, branch string) (*github.Branch, error)

func GetBranches

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

func GetRepo

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

func GetTags

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

func GetTagsSplit

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

func NewClient

func NewClient() (client *github.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