diff options
author | baude <bbaude@redhat.com> | 2018-05-04 10:39:34 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-05-08 15:44:38 +0000 |
commit | 21ebdb558cb939176d862e12bec99f34a1e5d4ba (patch) | |
tree | 537d4aef6fade4a1f436589caec9b72527436243 /cmd | |
parent | bb2d5759d444a15952955564596aa0ba2201b5c6 (diff) | |
download | podman-21ebdb558cb939176d862e12bec99f34a1e5d4ba.tar.gz podman-21ebdb558cb939176d862e12bec99f34a1e5d4ba.tar.bz2 podman-21ebdb558cb939176d862e12bec99f34a1e5d4ba.zip |
Allow streaming on some varlink container methods
The following methods should support streaming requests from the client:
* GetContainerLogs
A reference for a python stream implementation can be found here:
https://github.com/varlink/python/blob/master/varlink/tests/test_orgexamplemore.py#L29-L42
Signed-off-by: baude <bbaude@redhat.com>
Closes: #724
Approved by: mheon
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/varlink/io.projectatomic.podman.varlink | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/podman/varlink/io.projectatomic.podman.varlink b/cmd/podman/varlink/io.projectatomic.podman.varlink index 5463562c2..37b4c2591 100644 --- a/cmd/podman/varlink/io.projectatomic.podman.varlink +++ b/cmd/podman/varlink/io.projectatomic.podman.varlink @@ -126,12 +126,9 @@ method ListContainers() -> (containers: []ListContainerData) method GetContainer(name: string) -> (container: ListContainerData) method CreateContainer() -> (notimplemented: NotImplemented) method InspectContainer(name: string) -> (container: string) -# TODO: Should this be made into a streaming response as opposed to a one off? method ListContainerProcesses(name: string, opts: []string) -> (container: []string) -# TODO: Should this be made into a streaming response as opposed to a one off? method GetContainerLogs(name: string) -> (container: []string) method ListContainerChanges(name: string) -> (container: [string]string) -# TODO: This should be made into a streaming response method ExportContainer(name: string, path: string) -> (tarfile: string) method GetContainerStats(name: string) -> (container: ContainerStats) method ResizeContainerTty() -> (notimplemented: NotImplemented) |