updater

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateResult

type UpdateResult struct {
	ContainerID   string
	ContainerName string
	OldImageID    string
	NewImageID    string
	Updated       bool
	Error         error
}

UpdateResult represents the result of updating a single container

type Updater

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

Updater handles container image updates using Go's native concurrency

func New

func New(client docker.Client, cfg *config.Config) *Updater

New creates a new Updater

func (*Updater) GetStats

func (u *Updater) GetStats() map[string]interface{}

GetStats returns update statistics

func (*Updater) Run

func (u *Updater) Run() error

Run executes an update cycle with concurrent container processing

Jump to

Keyboard shortcuts

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