update

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MaxFileSize = 20 * 1024 * 1024

Variables

View Source
var ErrCannotFindBinary = errors.New("cannot find binary in archive")
View Source
var ErrNoRelease = errors.New("no releases were found")

Functions

func Extract

func Extract(ctx context.Context, archiveURL, signatureURL string) (io.Reader, error)

Types

type Release

type Release struct {
	Version      string
	ArchiveURL   string
	SignatureURL string
}

func GetLatestRelease

func GetLatestRelease(ctx context.Context, withUnstable bool) (Release, error)

Jump to

Keyboard shortcuts

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