updater

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Updater

type Updater struct {
	*config.ProgressTracker
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater(cfg UpdaterConfig) *Updater

func (*Updater) GetUpdaterChannel

func (u *Updater) GetUpdaterChannel() chan event.Event

GetUpdaterChannel returns the channel on which the updater listenens to update resuests

func (*Updater) ProcessUpdate

func (u *Updater) ProcessUpdate(e *event.EventUpdate) error

func (*Updater) Start

func (u *Updater) Start(ctx context.Context) error

type UpdaterConfig

type UpdaterConfig struct {
	Manager manager.Manager
	Logger  logr.Logger
}

Jump to

Keyboard shortcuts

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