upgrade

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Upgrade(*deployment.Deployment) error
}

type Option

type Option func(*Upgrader)

func WithBootManager

func WithBootManager(bm *firmware.EfiBootManager) Option

func WithBootloader

func WithBootloader(b bootloader.Bootloader) Option

func WithSnapshotter

func WithSnapshotter(s transaction.Interface) Option

func WithTransaction

func WithTransaction(t transaction.Interface) Option

func WithUnpackOpts

func WithUnpackOpts(opts ...unpack.Opt) Option

type Upgrader

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

func New

func New(ctx context.Context, s *sys.System, opts ...Option) *Upgrader

func (Upgrader) Upgrade

func (u Upgrader) Upgrade(d *deployment.Deployment) (err error)

Jump to

Keyboard shortcuts

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