1
0
mirror of https://github.com/containers/podman.git synced 2026-02-05 06:45:31 +01:00

pkg/autoupdate: document fields of updater

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2022-08-03 14:57:51 +02:00
parent 3fdd3b1ae3
commit af3ce70844

View File

@@ -52,11 +52,11 @@ var supportedPolicies = map[string]Policy{
// updater includes shared state for auto-updating one or more containers.
type updater struct {
conn *dbus.Conn
options *entities.AutoUpdateOptions
unitToTasks map[string][]*task
updatedRawImages map[string]bool
runtime *libpod.Runtime
conn *dbus.Conn // DBUS connection
options *entities.AutoUpdateOptions // User-specified options
unitToTasks map[string][]*task // Keeps track of tasks per unit
updatedRawImages map[string]bool // Keeps track of updated images
runtime *libpod.Runtime // The libpod runtime
}
const (