func/pipelines/tekton
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
..
client.go Improve error handling (#916) 2022-03-22 17:18:17 -07:00
defaults.go feat!: support on cluster build from git repo with Tekton (#743) 2022-01-12 11:58:51 -08:00
pipeplines_provider.go src: exported client constructor with options (#883) 2022-03-30 00:58:46 +00:00
resources.go feat: delete pipeline and resources with `func delete` (#763) 2022-01-24 12:39:29 -08:00
tasks.go feat!: support on cluster build from git repo with Tekton (#743) 2022-01-12 11:58:51 -08:00