jx: github.com/jenkins-x/jx/pkg/gits/releases Index | Files

package releases

import "github.com/jenkins-x/jx/pkg/gits/releases"

Index

Package Files

releases.go

func GetRelease Uses

func GetRelease(version string, owner string, repo string, provider gits.GitProvider) (*gits.GitRelease, error)

GetRelease will find the GitRelease for the given owner/repo, looking for a tag called <version> or v<version>

func ReleaseDownloadCount Uses

func ReleaseDownloadCount(releases []*gits.GitRelease) int

ReleaseDownloadCount returns the total number of downloads for the given set of releases

func ReleaseNotFoundError Uses

func ReleaseNotFoundError(err error) bool

ReleaseNotFoundError determines if the reason for the error is that the release is not found

Package releases imports 4 packages (graph) and is imported by 3 packages. Updated 2019-08-19. Refresh now. Tools for package owners.