Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStableTagProvider ¶
func NewStableTagProvider(stableTagLocation string) *stableTagProvider
NewStableTagProvider returns a new instance of stableTagProvider
Types ¶
type SoftwareVersionChecker ¶
type SoftwareVersionChecker struct {
// contains filtered or unexported fields
}
SoftwareVersionChecker is a component which is used to check if a new software stable tag is available
func NewSoftwareVersionChecker ¶
func NewSoftwareVersionChecker( appStatusHandler core.AppStatusHandler, stableTagProvider StableTagProviderHandler, pollingIntervalInMinutes int, ) (*SoftwareVersionChecker, error)
NewSoftwareVersionChecker will create an object for software version checker
func (*SoftwareVersionChecker) Close ¶
func (svc *SoftwareVersionChecker) Close() error
Close will handle the closing of opened go routines
func (*SoftwareVersionChecker) IsInterfaceNil ¶
func (svc *SoftwareVersionChecker) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
func (*SoftwareVersionChecker) StartCheckSoftwareVersion ¶
func (svc *SoftwareVersionChecker) StartCheckSoftwareVersion()
StartCheckSoftwareVersion will check on a specific interval if a new software version is available
type StableTagProviderHandler ¶
StableTagProviderHandler defines what a stable tag provider should be able to do
Click to show internal directories.
Click to hide internal directories.