func/cmd
Matej Vašek 8e0b752edc
Apply linter suggestions (#2786)
* Refactor: if-elif-else => switch

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: calls to embedded fields

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Fix: add missing err checks

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: fix format of error messages

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: omit type where possible

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: apply De Morgan's law

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: call ReplaceAll where possible

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: fix format of error messages

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: fix format of error messages

Signed-off-by: Matej Vašek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-04-15 09:43:13 +00:00
..
func allow go install knative.dev/func@{version} (#2220) 2024-03-13 02:27:10 +00:00
func-util Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
prompt add repository to the credentials prompt (#2596) 2024-12-02 16:22:45 +00:00
templates migrate client-pkg to client/pkg (#2477) 2024-09-04 10:08:32 +00:00
testdata fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
build.go Apply linter suggestions (#2786) 2025-04-15 09:43:13 +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 Refactor if-elif-else => switch (#2785) 2025-04-14 12:02:16 +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 Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
create_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
delete.go Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
delete_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
deploy.go Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
deploy_test.go Python Middleware v2 Scaffolding (#2685) 2025-04-02 10:44:05 +00:00
describe.go Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
describe_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
environment.go Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00
format.go Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
invoke.go refactor data member of the InvokeMessage to be []byte (#2733) 2025-03-06 13:45:00 +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 Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
list_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
repository.go Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
repository_test.go Fix test failures in OCP prow CI (#2503) 2024-09-16 06:57:35 +00:00
root.go Update golangci-lint (#2606) 2024-12-02 14:40:48 +00:00
root_test.go migrate client-pkg to client/pkg (#2477) 2024-09-04 10:08:32 +00:00
run.go Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
run_test.go test for func run with digested image override (#2650) 2025-01-21 18:48:09 +00:00
subscribe.go 💄 make array when filters is nil (#2569) 2024-11-05 14:05:39 +00:00
subscribe_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
templates.go Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00
templates_test.go Python Middleware v2 Scaffolding (#2685) 2025-04-02 10:44:05 +00:00
tkn_tasks.go feat: embed tkn tasks in func binary (#2396) 2024-06-26 17:48:06 +00:00
version.go Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00