mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-08 14:11:13 +02:00
The shared code is going out to the github.com/siderolabs/go-kubernetes library. The code will be used in Talos and other projects using same features. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
15 lines
443 B
Go
15 lines
443 B
Go
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
package kubernetes
|
|
|
|
import (
|
|
"github.com/siderolabs/go-kubernetes/kubernetes"
|
|
)
|
|
|
|
// IsRetryableError returns true if this Kubernetes API should be retried.
|
|
func IsRetryableError(err error) bool {
|
|
return kubernetes.IsRetryableError(err)
|
|
}
|