func/docker
Luke Kingland 9a0335de7d
src: exported client constructor with options (#883)
* update root and version structure and help text

* fix: limit openshift int test with tag

* refactor: commands to use simplifed, unified constructor

* fix ineffectual assignment lint error

* cleanup

* add repository to run command

* callout for forthcoming s2i builder impl

* lint errors

* re-add the deferred client factory

* remove setNamespaceFlag now that it is persistent

* avoid side-effect of global-mutating deploy tests

* reduce line-by-line difference for PR ease

* simplificaiton of tests and comment lines for further PR ease purposes

* reduce inconsequential differences for ease of PR

* tests to RootCommandConfig

* review comment updates

* fix lint errors

* replace stdlib Setenv in tests

Using t.Setenv will require an update to go1.17, which is out of scope
for this PR.

* pass ClientFactory throughout

* explicitly empty test command args

See https://github.com/spf13/cobra/pull/155

Errors can still be encountered when, for example, using precomiled
tests.  Explicitly setting constructed command args to the empty slice
ensures we avoid hitting any futher edge cases.
2022-03-30 00:58:46 +00:00
..
creds Windows unit test fixes (#860) 2022-02-27 17:53:07 -08:00
testData feat: allow push to cluster internal registries (#718) 2021-12-20 14:28:17 -08:00
docker_client.go fix: use default socket path for TCP connections (#669) 2021-11-19 12:16:23 -08:00
docker_client_generated.go Docker SSH test (#659) 2021-11-14 17:18:54 -08:00
docker_client_linux_test.go Refactor tests (#658) 2021-11-14 17:15:54 -08:00
docker_client_ssh_test.go Docker SSH test (#659) 2021-11-14 17:18:54 -08:00
docker_client_test.go Windows unit test fixes (#860) 2022-02-27 17:53:07 -08:00
pusher.go src: exported client constructor with options (#883) 2022-03-30 00:58:46 +00:00
pusher_test.go src: exported client constructor with options (#883) 2022-03-30 00:58:46 +00:00
runner.go src: promote verbosity to constructor arg (#869) 2022-03-04 11:19:36 -08:00
runner_test.go src: promote verbosity to constructor arg (#869) 2022-03-04 11:19:36 -08:00