update

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(repo provisioning.UpdateRepo, filesRepo provisioning.UpdateFilesRepo, source provisioning.UpdateSourcePort, serverSvc provisioning.ServerService, opts ...Option) *updateService

Types

type Option

type Option func(service *updateService)

func WithLatestLimit

func WithLatestLimit(limit int) Option

func WithPendingGracePeriod

func WithPendingGracePeriod(pendingGracePeriod time.Duration) Option

type UpdateFileExprEnv

type UpdateFileExprEnv struct {
	Filename     string `expr:"file_name"`
	Size         int    `expr:"size"`
	Sha256       string `expr:"sha256"`
	Component    string `expr:"component"`
	Type         string `expr:"type"`
	Architecture string `expr:"architecture"`
}

func (UpdateFileExprEnv) ExprCompileOptions

func (u UpdateFileExprEnv) ExprCompileOptions() []expr.Option

Jump to

Keyboard shortcuts

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