check_pkg_updates

package module
v0.0.0-...-c06f96f Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KV_TOKEN              = os.Getenv("KV_TOKEN")
	CF_ACCOUNT_ID         = os.Getenv("CF_ACCOUNT_ID")
	PKG_AUTOUPDATE_SOURCE = os.Getenv("PKG_AUTOUPDATE_SOURCE")
	RESTRICT_PKGS         = strings.Split(os.Getenv("RESTRICT_PKGS"), ",")

	// If specified, only update packages starting with this prefix.
	PKG_PREFIX = os.Getenv("PKG_PREFIX")
)

Functions

func DoUpdate

func DoUpdate(ctx context.Context, pkg *packages.Package, versions []version.Version) error

func Invoke

func Invoke(w http.ResponseWriter, r *http.Request)

Types

type APIPackage

type APIPackage struct {
	Versions []string `json:"versions"`
}

Jump to

Keyboard shortcuts

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