diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-04-10 08:51:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-10 08:51:26 -0700 |
commit | 1fb0a09591ae86b659dc87bd9e3f7fe29d8add8d (patch) | |
tree | 0f9df726674f9a28abbd08fc2aa9bfb71509ec1e /cmd/podman/varlink/io.podman.varlink | |
parent | 1701707dad4e4dba9d4331bd8917be28d138254d (diff) | |
parent | fbcda7772d9fb7667be3a26fbabea0a7b5ea9a58 (diff) | |
download | podman-1fb0a09591ae86b659dc87bd9e3f7fe29d8add8d.tar.gz podman-1fb0a09591ae86b659dc87bd9e3f7fe29d8add8d.tar.bz2 podman-1fb0a09591ae86b659dc87bd9e3f7fe29d8add8d.zip |
Merge pull request #2874 from baude/varlinkterm
Add the ability to attach remotely to a container
Diffstat (limited to 'cmd/podman/varlink/io.podman.varlink')
-rw-r--r-- | cmd/podman/varlink/io.podman.varlink | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink index d8905326c..ae830f3e6 100644 --- a/cmd/podman/varlink/io.podman.varlink +++ b/cmd/podman/varlink/io.podman.varlink @@ -658,8 +658,9 @@ method PauseContainer(name: string) -> (container: string) # See also [PauseContainer](#PauseContainer). method UnpauseContainer(name: string) -> (container: string) -# This method has not be implemented yet. -# method AttachToContainer() -> (notimplemented: NotImplemented) +method Attach(name: string) -> () + +method AttachControl(name: string) -> () # GetAttachSockets takes the name or ID of an existing container. It returns file paths for two sockets needed # to properly communicate with a container. The first is the actual I/O socket that the container uses. The @@ -1154,6 +1155,9 @@ method PodStateData(name: string) -> (config: string) # This call is for the development of Podman only and should not be used. method CreateFromCC(in: []string) -> (id: string) +# Spec returns the oci spec for a container. This call is for development of Podman only and generally should not be used. +method Spec(name: string) -> (config: string) + # Sendfile allows a remote client to send a file to the host method SendFile(type: string, length: int) -> (file_handle: string) |