summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/auto-update.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-07-14 15:26:01 -0400
committerGitHub <noreply@github.com>2021-07-14 15:26:01 -0400
commitce4c23c4af3adb6b2d41d337720bb78be5db0f71 (patch)
tree98807acc34961759539e6d3c19da3f011a773032 /pkg/domain/entities/auto-update.go
parent9570bf6b30ae35a4227a021c5ef7382515f2a790 (diff)
parent01cfb51fe989f5b3d810961e6813653f10ea541a (diff)
downloadpodman-ce4c23c4af3adb6b2d41d337720bb78be5db0f71.tar.gz
podman-ce4c23c4af3adb6b2d41d337720bb78be5db0f71.tar.bz2
podman-ce4c23c4af3adb6b2d41d337720bb78be5db0f71.zip
Merge pull request #10880 from vrothberg/auto-update
auto-update: make output more user friendly
Diffstat (limited to 'pkg/domain/entities/auto-update.go')
-rw-r--r--pkg/domain/entities/auto-update.go15
1 files changed, 13 insertions, 2 deletions
diff --git a/pkg/domain/entities/auto-update.go b/pkg/domain/entities/auto-update.go
index c51158816..d74462b86 100644
--- a/pkg/domain/entities/auto-update.go
+++ b/pkg/domain/entities/auto-update.go
@@ -8,6 +8,17 @@ type AutoUpdateOptions struct {
// AutoUpdateReport contains the results from running auto-update.
type AutoUpdateReport struct {
- // Units - the restarted systemd units during auto-update.
- Units []string
+ // ID of the container *before* an update.
+ ContainerID string
+ // Name of the container *before* an update.
+ ContainerName string
+ // Name of the image.
+ ImageName string
+ // The configured auto-update policy.
+ Policy string
+ // SystemdUnit running a container configured for auto updates.
+ SystemdUnit string
+ // Indicates whether the image was updated and the container (and
+ // systemd unit) restarted.
+ Updated string
}