Files
Christian Stewart b1cc5043fd play: kube: use in-memory kubefile and remove tempfile
The PlayKube and PlayKubeDown commands accepted a "path" argument to a YAML file
to play. This requires the caller to write the YAML to a file path. The downside
of this is apparent in the HTTP handlers which have to use a temporary file on
disk to store the YAML file.

The file is opened & used as the body of the HTTP request. It's possible to
instead pass a io.Reader and use a fully in-memory request body.

Add backwards-compatible changes to bindings to allow passing either a filepath
or a io.Reader body.

Refactor the podman bindings to use a io.Reader instead of a filepath.

Simplify the HTTP handlers for PlayKube by removing the now unneeded tempfile.

[NO NEW TESTS NEEDED]

Signed-off-by: Christian Stewart <christian@paral.in>
2022-03-30 15:36:05 -04:00
..
2022-01-11 14:33:54 -05:00
2021-04-15 14:24:39 -04:00
2021-08-05 15:20:38 +02:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-14 12:30:20 -05:00
2022-01-18 12:47:07 +01:00
2020-06-10 05:49:41 -04:00
2020-03-29 18:48:29 -05:00
2022-01-18 12:47:07 +01:00
2022-01-14 16:13:35 -07:00
2022-01-18 12:47:07 +01:00
2020-06-10 05:49:41 -04:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00