updates

package
v0.0.0-...-e06cd52 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorDisabledOnHost = fmt.Errorf("updates disabled on the host")

Functions

func Shutdown

func Shutdown()

Types

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func GetWatcher

func GetWatcher(fetchTimeout, checkInterval uint32) *Watcher

func (*Watcher) GetSystemUpdatesInfo

func (w *Watcher) GetSystemUpdatesInfo() (map[string]interface{}, error)

func (*Watcher) Run

func (w *Watcher) Run()

func (*Watcher) Shutdown

func (w *Watcher) Shutdown()

Jump to

Keyboard shortcuts

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