update

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: MIT Imports: 11 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  *config.Config
	Client  service.HTTPClient
	Checker checker.IChecker
	// contains filtered or unexported fields
}

func New

func New(conf *config.Config, client service.HTTPClient, chk checker.IChecker) *Updater

func (*Updater) ApplySwap

func (u *Updater) ApplySwap() error

func (*Updater) Cleanup

func (u *Updater) Cleanup() error

func (*Updater) Execute

func (u *Updater) Execute(ctx context.Context, checkOnly bool) error

func (*Updater) PrepareSwap

func (u *Updater) PrepareSwap() error

Jump to

Keyboard shortcuts

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