releasechecker

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReleaseCheckResult

type ReleaseCheckResult int
const (
	NotNeeded ReleaseCheckResult = 0
	Success   ReleaseCheckResult = 1
	Failure   ReleaseCheckResult = 2
	Disabled  ReleaseCheckResult = 3
)

func CheckNewRelease

func CheckNewRelease(ctx context.Context, force bool) (ReleaseCheckResult, error)

CheckNewRelease checks for a new release and updates the release info in the DB. If force is true, the release info is updated even if it is fresh or if the automatic release check is disabled.

Jump to

Keyboard shortcuts

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