diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-27 15:07:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 15:07:32 -0400 |
commit | c64abd0b037e5918d6d24e326005ae65131dd738 (patch) | |
tree | 81a3647c98522436b35a1520d44cc2f64d707775 /pkg/api/server | |
parent | ab3a620f74f2f1458054822f2113200863b60d40 (diff) | |
parent | 8438fa4fec01142ad9f6943f6e0c429c64d951b7 (diff) | |
download | podman-c64abd0b037e5918d6d24e326005ae65131dd738.tar.gz podman-c64abd0b037e5918d6d24e326005ae65131dd738.tar.bz2 podman-c64abd0b037e5918d6d24e326005ae65131dd738.zip |
Merge pull request #6407 from baude/v2eventsstream
Add streaming ability to endpoint
Diffstat (limited to 'pkg/api/server')
-rw-r--r-- | pkg/api/server/register_events.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/api/server/register_events.go b/pkg/api/server/register_events.go index e909303da..2b85eb169 100644 --- a/pkg/api/server/register_events.go +++ b/pkg/api/server/register_events.go @@ -58,6 +58,11 @@ func (s *APIServer) registerEventsHandlers(r *mux.Router) error { // type: string // in: query // description: JSON encoded map[string][]string of constraints + // - name: stream + // type: boolean + // in: query + // default: true + // description: when false, do not follow events // responses: // 200: // description: returns a string of json data describing an event |