func/pkg/k8s
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
..
labels removes redundant default labels and annotations (#2746) 2025-03-24 11:42:57 +00:00
testdata Go tar (#2672) 2025-01-28 00:45:56 +00:00
client.go Cleanup orphaned func, new image-name calculation (#1962) 2024-02-27 10:44:20 +00:00
configmaps.go chore: refactor repository layout (#1554) 2023-02-15 08:46:52 +00:00
configmaps_test.go chore: refactor repository layout (#1554) 2023-02-15 08:46:52 +00:00
dialer.go Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
dialer_test.go add case for DNS resolve fail (#2619) 2024-12-17 12:23:09 +00:00
dialer_unit_test.go Improve socat conn success detection (#2506) 2024-09-20 06:42:26 +00:00
logs.go chore: refactor repository layout (#1554) 2023-02-15 08:46:52 +00:00
logs_test.go Fix some linter errors in integration tests (#2608) 2024-12-04 13:36:45 +00:00
manifestival.go use Tekton Resolvers for a standard on cluster build (#1843) 2023-07-11 17:41:13 +00:00
openshift.go Cleanup orphaned func, new image-name calculation (#1962) 2024-02-27 10:44:20 +00:00
persistent_volumes.go feat: remote storage class (#2693) 2025-02-19 07:35:47 +00:00
persistent_volumes_test.go feat: remote storage class (#2693) 2025-02-19 07:35:47 +00:00
secrets.go feat: Pipelines as Code - initial support (pack) (#1594) 2023-03-07 15:41:20 +00:00
secrets_test.go chore: refactor repository layout (#1554) 2023-02-15 08:46:52 +00:00
security_context.go Use custom jammy paketo builder (#1911) 2023-08-10 03:25:35 +00:00
serviceaccount.go adding service account support (#1812) 2023-06-21 07:44:35 +00:00