From 21ebdb558cb939176d862e12bec99f34a1e5d4ba Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 4 May 2018 10:39:34 -0500 Subject: 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 Closes: #724 Approved by: mheon --- cmd/podman/varlink/io.projectatomic.podman.varlink | 3 --- 1 file changed, 3 deletions(-) (limited to 'cmd') 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) -- cgit v1.2.3-54-g00ecf