mirror of https://github.com/knative/func.git
* 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. |
||
|---|---|---|
| .. | ||
| func | ||
| testdata/repository.git | ||
| build.go | ||
| build_test.go | ||
| client.go | ||
| completion.go | ||
| completion_util.go | ||
| config.go | ||
| config_envs.go | ||
| config_labels.go | ||
| config_labels_test.go | ||
| config_volumes.go | ||
| create.go | ||
| create_test.go | ||
| delete.go | ||
| delete_test.go | ||
| deploy.go | ||
| deploy_test.go | ||
| format.go | ||
| info.go | ||
| invoke.go | ||
| list.go | ||
| repository.go | ||
| repository_test.go | ||
| root.go | ||
| root_test.go | ||
| run.go | ||
| run_test.go | ||
| version.go | ||