diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-06-01 19:49:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-01 19:49:15 -0400 |
commit | 1f3b13759fbfba118919c1809e0df0fc1646ab46 (patch) | |
tree | f4a76900791a945bc9163da5b7941ce6a9573f6a /pkg/api/server | |
parent | 24b364a230102acb8abdf5724c63153d50f03a6c (diff) | |
parent | 2cc4535e1fb8d6a18a4992e395ace21fefe22efe (diff) | |
download | podman-1f3b13759fbfba118919c1809e0df0fc1646ab46.tar.gz podman-1f3b13759fbfba118919c1809e0df0fc1646ab46.tar.bz2 podman-1f3b13759fbfba118919c1809e0df0fc1646ab46.zip |
Merge pull request #10517 from cdoern/master
API one-shot query implementation/handling
Diffstat (limited to 'pkg/api/server')
-rw-r--r-- | pkg/api/server/register_containers.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go index 536c4707a..aa999905e 100644 --- a/pkg/api/server/register_containers.go +++ b/pkg/api/server/register_containers.go @@ -375,6 +375,11 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error { // type: boolean // default: true // description: Stream the output + // - in: query + // name: one-shot + // type: boolean + // default: false + // description: Provide a one-shot response in which preCPU stats are blank, resulting in a single cycle return. // produces: // - application/json // responses: |