kubectl/pkg/cmd/apply
Omer Aplatony 2bb31e1a0f Replace PollImmediate with PollUntilContextTimeout (#128147)
* Replace PollImmediate with PollUntilContextTimeout

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

* Add context to RetryErrorCondition function

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

* lint: fix error comparison in scale package

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

* Fix RetryErrorCondition function signature

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

* revert to if err statement

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

---------

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

Kubernetes-commit: 9d816f1587c918e7acae6d9195d33606aec998b1
2024-11-07 16:57:29 +02:00
..
testdata/prune/simple Use standard *.kubernetes.io instead of *.k8s.io for ApplySet 2023-03-20 18:21:04 -04:00
apply.go kubectl: remove subresource restrictions from all commands 2024-10-31 16:00:52 -07:00
apply_edit_last_applied.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
apply_set_last_applied.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
apply_test.go Use Go standard library slices package instead of k8s.io/utils/strings/slices 2024-08-15 14:43:53 +02:00
apply_view_last_applied.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
applyset.go kubectl prune v2: switch to contains-group-kinds annotation 2023-06-28 11:27:00 -04:00
applyset_pruner.go kubectl prune v2: switch to contains-group-kinds annotation 2023-06-28 11:27:00 -04:00
patcher.go Replace PollImmediate with PollUntilContextTimeout (#128147) 2024-11-07 16:57:29 +02:00
prune.go cleanup: replace deprecated sets.String 2023-03-01 09:05:59 -05:00