• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

diranged / oz / 13276311404

12 Feb 2025 01:51AM UTC coverage: 34.804% (-3.7%) from 38.51%
13276311404

push

github

web-flow
chore(deps): update dependency go to v1.24.0 (#367)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [go](https://go.dev/)
([source](https://redirect.github.com/golang/go)) | toolchain | minor |
`1.23.6` -> `1.24.0` |

---

### Release Notes

<details>
<summary>golang/go (go)</summary>

###
[`v1.24.0`](https://redirect.github.com/golang/go/compare/go1.23.6...go1.24rc3)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/diranged/oz).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

986 of 2833 relevant lines covered (34.8%)

1.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/internal/controllers/internal/ctrlrequeue/ctrlrequeue.go
1
// SPDX-License-Identifier: Apache-2.0
2

3
// Package ctrlrequeue provides helper functions with clear names for informing
4
// the controller when to requeue (or not) reconciliations.
5
package ctrlrequeue
6

7
import (
8
        "time"
9

10
        ctrl "sigs.k8s.io/controller-runtime"
11
)
12

13
// Requeue represents that a request should be requeued for further processing.
14
func Requeue(requeue bool) (ctrl.Result, error) {
×
15
        return ctrl.Result{Requeue: requeue}, nil
×
16
}
×
17

18
// RequeueError represents that a request should be requeued for further
19
// processing due to an error.
20
func RequeueError(err error) (ctrl.Result, error) {
×
21
        return ctrl.Result{}, err
×
22
}
×
23

24
// RequeueAfterError represents that a request should be requeued for further
25
// processing after the given interval has passed due to an error.
26
func RequeueAfterError(interval time.Duration, err error) (ctrl.Result, error) {
×
27
        return ctrl.Result{RequeueAfter: interval}, err
×
28
}
×
29

30
// RequeueAfter represents that a request should be requeued for further
31
// processing after the given interval has passed.
32
func RequeueAfter(interval time.Duration) (ctrl.Result, error) {
×
33
        return RequeueAfterError(interval, nil)
×
34
}
×
35

36
// RequeueImmediately represents that a request should be requeued
37
// immediately for further processing.
38
func RequeueImmediately() (ctrl.Result, error) {
×
39
        return Requeue(true)
×
40
}
×
41

42
// NoRequeue represents that a request shouldn't be requeued for further processing.
43
func NoRequeue() (ctrl.Result, error) {
×
44
        return RequeueError(nil)
×
45
}
×
46

47
// ShouldRequeue returns true if we should requeue the request for reconciliation.
48
func ShouldRequeue(result ctrl.Result, err error) bool {
×
49
        return err != nil || result.Requeue || result.RequeueAfter > 0
×
50
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc