spiegel_podman/vendor/github.com
Matthew Heon ac47e80b07 Add an API for Attach over HTTP API
The new APIv2 branch provides an HTTP-based remote API to Podman.
The requirements of this are, unfortunately, incompatible with
the existing Attach API. For non-terminal attach, we need append
a header to what was copied from the container, to multiplex
STDOUT and STDERR; to do this with the old API, we'd need to copy
into an intermediate buffer first, to handle the headers.

To avoid this, provide a new API to handle all aspects of
terminal and non-terminal attach, including closing the hijacked
HTTP connection. This might be a bit too specific, but for now,
it seems to be the simplest approach.

At the same time, add a Resize endpoint. This needs to be a
separate endpoint, so our existing channel approach does not work
here.

I wanted to rework the rest of attach at the same time (some
parts of it, particularly how we start the Attach session and how
we do resizing, are (in my opinion) handled much better here.
That may still be on the table, but I wanted to avoid breaking
existing APIs in this already massive change.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-01-16 13:49:21 -05:00
..
Azure/go-ansiterm vendor: update everything 2019-01-11 13:38:11 +01:00
beorn7/perks update dependencies 2019-06-24 21:29:31 +02:00
blang/semver update dependencies 2019-06-24 21:29:31 +02:00
buger/goterm vendor: update everything 2019-01-11 13:38:11 +01:00
BurntSushi/toml migrate to go-modules 2019-06-24 13:20:59 +02:00
checkpoint-restore/go-criu update dependencies 2019-06-24 21:29:31 +02:00
containerd Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
containernetworking vendor: updated ocicni for MAC address 2019-11-06 16:22:18 +01:00
containers Add an API for Attach over HTTP API 2020-01-16 13:49:21 -05:00
coreos Vendor Bulidah 1.11.2 2019-09-13 11:22:14 -04:00
cri-o/ocicni vendor: updated ocicni for MAC address 2019-11-06 16:22:18 +01:00
cyphar/filepath-securejoin update dependencies 2019-06-24 21:29:31 +02:00
davecgh/go-spew migrate to go-modules 2019-06-24 13:20:59 +02:00
docker update c/buildah to v1.12.0 2019-12-19 18:17:23 +01:00
etcd-io/bbolt update dependencies 2019-06-24 21:29:31 +02:00
fatih/camelcase migrate to go-modules 2019-06-24 13:20:59 +02:00
fsnotify/fsnotify migrate to go-modules 2019-06-24 13:20:59 +02:00
fsouza/go-dockerclient Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
fullsailor/pkcs7 build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
ghodss/yaml migrate to go-modules 2019-06-24 13:20:59 +02:00
godbus/dbus Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
gogo/protobuf Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
golang/protobuf Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
google Initial commit on compatible API 2020-01-10 09:41:39 -06:00
gorilla Initial commit on compatible API 2020-01-10 09:41:39 -06:00
hashicorp Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
hpcloud/tail migrate to go-modules 2019-06-24 13:20:59 +02:00
imdario/mergo build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
inconshreveable/mousetrap Migrate to cobra CLI 2019-02-08 10:26:43 -06:00
ishidawataru/sctp Vendor in buildah 1.9.2 2019-07-30 16:48:18 -04:00
json-iterator/go Bump github.com/json-iterator/go from 1.1.7 to 1.1.8 2019-10-30 15:17:10 +01:00
klauspost build(deps): bump github.com/containers/storage from 1.15.0 to 1.15.2 2019-12-06 10:27:06 +01:00
konsorten/go-windows-terminal-sequences Vendor in logrus v1.4.2 2019-06-18 17:37:53 -07:00
mattn/go-shellwords build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
matttproud/golang_protobuf_extensions update dependencies 2019-06-24 21:29:31 +02:00
Microsoft build(deps): bump github.com/containers/storage from 1.15.0 to 1.15.2 2019-12-06 10:27:06 +01:00
mistifyio/go-zfs migrate to go-modules 2019-06-24 13:20:59 +02:00
modern-go migrate to go-modules 2019-06-24 13:20:59 +02:00
morikuni/aec bump containers/image to v5.0.0, buildah to v1.11.4 2019-10-29 13:35:18 -04:00
mrunalp/fileutils migrate to go-modules 2019-06-24 13:20:59 +02:00
mtrmac/gpgme migrate to go-modules 2019-06-24 13:20:59 +02:00
onsi Bump to Buildah v1.13.1 2020-01-14 14:46:46 -05:00
opencontainers build(deps): bump github.com/containers/storage from 1.13.5 to 1.14.0 2019-11-22 15:03:53 +01:00
openshift bump containers/image to v5.0.0, buildah to v1.11.4 2019-10-29 13:35:18 -04:00
opentracing/opentracing-go update dependencies 2019-06-24 21:29:31 +02:00
ostreedev/ostree-go github.com/containers/storage v1.12.13 2019-08-01 03:46:14 -04:00
pkg/errors Bump to Buildah v1.13.1 2020-01-14 14:46:46 -05:00
pmezard/go-difflib migrate to go-modules 2019-06-24 13:20:59 +02:00
pquerna/ffjson Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
prometheus Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
rootless-containers/rootlesskit rootless: use RootlessKit port forwarder 2020-01-08 19:35:17 +09:00
safchain/ethtool podman network create 2019-09-09 09:32:43 -05:00
seccomp update dependencies 2019-06-24 21:29:31 +02:00
sirupsen/logrus migrate to go-modules 2019-06-24 13:20:59 +02:00
spf13 Bump github.com/spf13/pflag from 1.0.3 to 1.0.5 2019-09-30 15:03:39 +02:00
stretchr/testify Bump github.com/stretchr/testify from 1.3.0 to 1.4.0 2019-09-30 15:07:11 +02:00
syndtr/gocapability vendor: update everything 2019-01-11 13:38:11 +01:00
tchap/go-patricia update dependencies 2019-06-24 21:29:31 +02:00
uber build(deps): bump github.com/uber/jaeger-client-go 2019-11-11 10:25:54 -05:00
ulikunitz/xz Add support for make vendor-in-container 2019-11-08 06:27:17 -05:00
varlink/go migrate to go-modules 2019-06-24 13:20:59 +02:00
vbatts/tar-split migrate to go-modules 2019-06-24 13:20:59 +02:00
vbauerster/mpb/v4 build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
vishvananda Vendor in buildah 1.9.2 2019-07-30 16:48:18 -04:00
VividCortex/ewma migrate to go-modules 2019-06-24 13:20:59 +02:00
xeipuuv Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00