gl

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GLGetAssetData added in v0.9.1

func GLGetAssetData(assets []*gitlab.ReleaseLink) map[string]string

GLGetAssetData will create a map of names + download urls

func GLGetLatestTag

func GLGetLatestTag(glClient *gitlab.Client, repo string) (string, error)

Return the Latest Tag for a gitlab repo

func GLGetReleaseAssets

func GLGetReleaseAssets(glClient *gitlab.Client, repo string, tag string) ([]*gitlab.ReleaseLink, int64)

func GLGetTag

func GLGetTag(glClient *gitlab.Client, repo string, version string) bool

GLGetTag is used to verify a tag exists

func GetAssetbyName

func GetAssetbyName(relFileName string, assets []*gitlab.ReleaseLink) (string, string)

func GetGLClient

func GetGLClient(baseUrl string, tokenvar string) *gitlab.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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