Documentation
¶
Index ¶
- func GenerateArtifactURL(project, version, fileName string) string
- func GetArtifactInfo(platform, architecture, release string, service *types.Service) *types.ArtifactInfo
- func GetArtifactVersion(release, project string) (string, string)
- func GetCommitSHA(project, tag string) *types.GitRefInfo
- func GetLatestRelease(project string) (*types.TagInformation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateArtifactURL ¶
GenerateArtifactURL wraps a `fmt.Sprintf` to template
func GetArtifactInfo ¶
func GetArtifactInfo(platform, architecture, release string, service *types.Service) *types.ArtifactInfo
GetArtifactInfo generates a structure of all necessary information from using the Github API
func GetArtifactVersion ¶
GetArtifactVersion fetches correct version for artifact from github.
func GetCommitSHA ¶
func GetCommitSHA(project, tag string) *types.GitRefInfo
GetCommitSHA uses github api to find SHA for the tagged release
func GetLatestRelease ¶
func GetLatestRelease(project string) (*types.TagInformation, error)
GetLatestRelease uses github API to identify information about latest tag for a project.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.