service

package
v0.0.1-alpha1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cache              = cache.New(5*time.Minute, 10*time.Minute)
	ErrReleaseNotFound = fmt.Errorf("release not found")
)

Functions

func DownloadAllMigrationTools

func DownloadAllMigrationTools()

func DownloadRelease

func DownloadRelease(ctx context.Context, release codegen.Release) (string, error)

func GetRelease

func GetRelease(tag string) (*codegen.Release, error)

func InstallRelease

func InstallRelease(ctx context.Context, release codegen.Release, sysrootPath string, tryDownload bool) error

func ReleaseDir

func ReleaseDir(release codegen.Release) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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