updater

package
v0.1.5 Latest Latest
Warning

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

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

Documentation

Overview

Package updater periodically checks running containers and recreates them when newer images are available.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, cmd *cli.Command) error

Types

type Updater

type Updater struct {
	Policy       policy.Policy // Update policy for semantic versioning
	Interval     time.Duration // How often to check for container updates
	Cleanup      bool          // Whether to remove old images after updates
	RequireLabel bool          // Only monitor containers with orbitd.enable=true
	// contains filtered or unexported fields
}

func (*Updater) Start

func (u *Updater) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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