api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRelease

func CreateRelease(repository string, release *github.RepositoryRelease) (*github.RepositoryRelease, error)

func DownloadFileFromURL

func DownloadFileFromURL(url, fileName, token string) error

func DownloadReleaseAssets

func DownloadReleaseAssets(asset *github.ReleaseAsset) error

func DownloadReleaseTarball

func DownloadReleaseTarball(release *github.RepositoryRelease) error

func DownloadReleaseZip

func DownloadReleaseZip(release *github.RepositoryRelease) error

func GetDatafromGitHubContext added in v0.1.0

func GetDatafromGitHubContext() (string, string, int, error)

func GetSourceRepositoryReleases

func GetSourceRepositoryReleases(owner string, repository string) ([]*github.RepositoryRelease, error)

func UploadAssetViaURL

func UploadAssetViaURL(uploadURL string, asset *github.ReleaseAsset) error

func WriteToIssue added in v0.1.0

func WriteToIssue(owner string, repository string, issueNumber int, comment string) error

Types

type Release

type Release struct {
	*github.RepositoryRelease
}

type Releases

type Releases []Release

Jump to

Keyboard shortcuts

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