checker

package
v0.0.0-...-b2779c9 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	KV             ports.KeyValueStore
	CheckersByType map[string]ports.UpdateChecker
}

func NewRegistry

func NewRegistry(kv ports.KeyValueStore) *Registry

func (Registry) LatestVersionFor

func (r Registry) LatestVersionFor(ctx context.Context, packageUrl string) (*ports.PackageInfo, error)

func (*Registry) Register

func (r *Registry) Register(checkers ...ports.UpdateChecker)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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