func/cmd
Luke Kingland e6fa020f78
fix: test and namespace isolation (#2187)
* fix: namespace logic cleanup and test isolation

- Pulls logic for defaulting to active namespace (K8S) moved UP to CLI during
  flag default calculation.
- Pushes logic of deciding between f.Namespace vs f.Deploy.Namespace down into
  implementations.
- Updates some tests which needed to have their environment cleared.
- Refactors Pipelines tests to use client API.
- Removes namespaces as a state variable all structures, instead passing as
  an argument.
- Moves FromTempDirectory to testing package for use outside cmd.

* fix spelling errors

* fix: pipelines remover always returned (empty) error

* update tekton namespace handling

* fix: remove deprecated GitLab config: max_concurrency
2024-05-17 08:25:46 +00:00
..
func allow go install knative.dev/func@{version} (#2220) 2024-03-13 02:27:10 +00:00
func-deployer Improve utility image (#2246) 2024-03-26 11:30:56 +00:00
prompt chore: align dependencies with Knative (#1942) 2023-08-29 18:32:31 +00:00
templates Replace knative.dev/client references to knative.dev/client-pkg (#1671) 2023-04-10 15:59:39 +00:00
testdata fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
build.go Basic auth (#2242) 2024-03-26 09:17:21 +00:00
build_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
client.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
client_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
completion.go cli help text updates and flags cleanup (#1564) 2023-03-01 09:35:54 +00:00
completion_util.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
config.go src: errors cleanup (#1783) 2023-06-06 20:15:26 +00:00
config_envs.go docs: standardize env flag help suffix (#1689) 2023-04-25 13:56:45 +00:00
config_git.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
config_git_remove.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
config_git_set.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
config_labels.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
config_labels_test.go chore: align dependencies with Knative (#1942) 2023-08-29 18:32:31 +00:00
config_test.go feat: Pipelines as Code - initial support (pack) (#1594) 2023-03-07 15:41:20 +00:00
config_volumes.go Fixed PersistentVolumeClaim spelling error (#2069) 2023-11-07 21:28:46 +00:00
create.go Cleanup orphaned func, new image-name calculation (#1962) 2024-02-27 10:44:20 +00:00
create_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
delete.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
delete_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
deploy.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
deploy_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
describe.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
describe_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
environment.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
format.go chore: use dot as path default rather than absolute path (#1184) 2022-08-24 11:02:18 +00:00
invoke.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
invoke_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
languages.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
languages_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
list.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
list_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
repository.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
repository_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
root.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
root_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
run.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
run_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
subscribe.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
subscribe_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
templates.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
templates_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
version.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00