updater

package
v0.24.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanMoveToVersion

func CanMoveToVersion(targetVersion string) bool

func CanMoveToVersionFromGitlab

func CanMoveToVersionFromGitlab(targetVersion string) bool

func CanUpdate

func CanUpdate(currentVersion string, gitSummary string) (bool, string)

CanUpdate will check for updates.

func CanUpdateFromGitlab

func CanUpdateFromGitlab(version string, gitSummary string) (bool, string)

CanUpdateFromGitlab ...

func DownloadFile added in v0.24.0

func DownloadFile(fullURLFile string) (string, error)

func MoveToVersion

func MoveToVersion(targetVersion string) (success bool, message string)

func MoveToVersionFromGitlab

func MoveToVersionFromGitlab(targerVersion string) (success bool, message string)

func RelengCliGetReleasesBetweenTags added in v0.24.1

func RelengCliGetReleasesBetweenTags(from, to string) ([]*gitlab.Release, error)

func Unzip added in v0.24.0

func Unzip(src, dest string) error

func UpdateFromGitlab

func UpdateFromGitlab(currentVersion string, gitSummary string) (success bool, message string)

UpdateFromGitlab will update the binary to the latest version from Gitlab.

Types

This section is empty.

Jump to

Keyboard shortcuts

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