3 Commits

Author SHA1 Message Date
Andrew Rynhard
829c3d72aa fix: close io.ReadCloser
In the ImagePull func comments it mentions that it is up to the caller
to handle the io.ReadCloser and close it properly. This ensures that we
do.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-12-05 15:31:49 -08:00
Andrey Smirnov
edb40437ec feat: add support for osctl logs -f
Now default is not to follow the logs (which is similar to `kubectl logs`).

Integration test was added for `Logs()` API and `osctl logs` command.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-12-05 13:58:52 -08:00
Spencer Smith
264c5440ef chore: rewrite basic integration in go instead of bash
This PR will be the start of several. It rewrites the basic integration
in go. We'll do these one at a time.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-12-05 15:55:19 -05:00