softwareVersion

package
v1.7.11 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSoftwareVersionChecker

func NewSoftwareVersionChecker(
	appStatusHandler core.AppStatusHandler,
	stableTagProvider StableTagProviderHandler,
	pollingIntervalInMinutes int,
) (*softwareVersionChecker, error)

NewSoftwareVersionChecker will create an object for software version checker

func NewStableTagProvider

func NewStableTagProvider(stableTagLocation string) *stableTagProvider

NewStableTagProvider returns a new instance of stableTagProvider

Types

type StableTagProviderHandler

type StableTagProviderHandler interface {
	FetchTagVersion() (string, error)
	IsInterfaceNil() bool
}

StableTagProviderHandler defines what a stable tag provider should be able to do

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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