diff options
author | Naoto Kobayashi <naoto.kobayashi4c@gmail.com> | 2022-08-11 20:35:13 +0900 |
---|---|---|
committer | Naoto Kobayashi <naoto.kobayashi4c@gmail.com> | 2022-08-11 20:35:13 +0900 |
commit | a4efd401cd87d98dced4f4eda41a8a1b86e72379 (patch) | |
tree | 3300101275e016f34ec2bbf889041e46a8593d8f /pkg/domain/entities/manifest.go | |
parent | 59ab5cce7d20be703f5528a12a971b2ef1e2a784 (diff) | |
download | podman-a4efd401cd87d98dced4f4eda41a8a1b86e72379.tar.gz podman-a4efd401cd87d98dced4f4eda41a8a1b86e72379.tar.bz2 podman-a4efd401cd87d98dced4f4eda41a8a1b86e72379.zip |
remote manifest push: show copy progress
`podman-remote manifest push` has shown absolutely no progress at all.
Fix that by doing the same as the remote-push code does.
Like remote-push, `quiet` parameter is true by default for backwards
compatibility.
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
Diffstat (limited to 'pkg/domain/entities/manifest.go')
-rw-r--r-- | pkg/domain/entities/manifest.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/domain/entities/manifest.go b/pkg/domain/entities/manifest.go index e88c5f854..126b76c62 100644 --- a/pkg/domain/entities/manifest.go +++ b/pkg/domain/entities/manifest.go @@ -61,6 +61,18 @@ type ManifestModifyOptions struct { ManifestRemoveOptions } +// ManifestPushReport provides the model for the pushed manifest +// +// swagger:model +type ManifestPushReport struct { + // ID of the pushed manifest + ID string `json:"Id"` + // Stream used to provide push progress + Stream string `json:"stream,omitempty"` + // Error contains text of errors from pushing + Error string `json:"error,omitempty"` +} + // ManifestRemoveOptions provides the model for removing digests from a manifest // // swagger:model |