updates

package
v0.0.0-...-f8c8db2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Zlib Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentUpdateCleanup

func AgentUpdateCleanup(ctx context.Context, updateID int) error

func AgentUpdateCleanupOnce

func AgentUpdateCleanupOnce(ctx context.Context)

func Remove

func Remove(ctx context.Context, cleaner GhostUpdaterCleaner) error

func SetUpdateID

func SetUpdateID(id int)

func UpdateID

func UpdateID() int

Types

type DockerUpdaterCleaner

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

func NewDockerUpdaterCleaner

func NewDockerUpdaterCleaner(updateID int) *DockerUpdaterCleaner

func (*DockerUpdaterCleaner) Clean

func (du *DockerUpdaterCleaner) Clean(ctx context.Context) error

func (*DockerUpdaterCleaner) UpdateID

func (du *DockerUpdaterCleaner) UpdateID() int

type GhostUpdaterCleaner

type GhostUpdaterCleaner interface {
	Clean(ctx context.Context) error
	UpdateID() int
}

Jump to

Keyboard shortcuts

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