Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump github.com/go-co-op/gocron/v2 from 2.1.0 to 2.2.4 #431

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build(deps): bump github.com/go-co-op/gocron/v2 from 2.1.0 to 2.2.4
Bumps [github.com/go-co-op/gocron/v2](https://github.com/go-co-op/gocron) from 2.1.0 to 2.2.4.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](go-co-op/gocron@v2.1.0...v2.2.4)

---
updated-dependencies:
- dependency-name: github.com/go-co-op/gocron/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
dependabot[bot] authored Mar 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit b0eef4ad9d99e00c75f62db57539389d9b1db337
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -20,12 +20,12 @@ require (
k8s.io/kube-openapi v0.0.0-20220413171646-5e7f5fdc6da6
)

require github.com/go-co-op/gocron/v2 v2.1.0
require github.com/go-co-op/gocron/v2 v2.2.4

require (
github.com/jonboulle/clockwork v0.4.0 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb // indirect
golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 // indirect
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
)

@@ -44,7 +44,7 @@ require (
github.com/google/gnostic v0.6.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.5.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
@@ -113,8 +113,8 @@ github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmV
github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg=
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/go-co-op/gocron/v2 v2.1.0 h1:VfUkAX+dNHO2usXiEPJPqO5az0U7xRn3EQ4HNb16vEA=
github.com/go-co-op/gocron/v2 v2.1.0/go.mod h1:yuQ4a9rIMpkdBVU+Rd5EyuEKaFjl/c7ykupXHnXB6MU=
github.com/go-co-op/gocron/v2 v2.2.4 h1:fL6a8/U+BJQ9UbaeqKxua8wY02w4ftKZsxPzLSNOCKk=
github.com/go-co-op/gocron/v2 v2.2.4/go.mod h1:igssOwzZkfcnu3m2kwnCf/mYj4SmhP9ecSgmYjCOHkk=
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
@@ -225,8 +225,8 @@ github.com/google/pprof v0.0.0-20230323073829-e72429f035bd/go.mod h1:79YE0hCXdHa
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.5.0 h1:1p67kYwdtXjb0gL0BPiP1Av9wiZPo5A8z2cWkTZ+eyU=
github.com/google/uuid v1.5.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY=
@@ -374,8 +374,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb h1:c0vyKkb6yr3KR7jEfJaOSv4lG7xPkbN6r52aJz1d8a8=
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 h1:+iq7lrkxmFNBM7xx+Rae2W6uyPfhPeDWD+n+JgppptE=
golang.org/x/exp v0.0.0-20231219180239-dc181d75b848/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
20 changes: 17 additions & 3 deletions vendor/github.com/go-co-op/gocron/v2/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/github.com/go-co-op/gocron/v2/errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 18 additions & 4 deletions vendor/github.com/go-co-op/gocron/v2/executor.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 29 additions & 24 deletions vendor/github.com/go-co-op/gocron/v2/job.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions vendor/github.com/go-co-op/gocron/v2/monitor.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

118 changes: 94 additions & 24 deletions vendor/github.com/go-co-op/gocron/v2/scheduler.go
13 changes: 13 additions & 0 deletions vendor/github.com/google/uuid/CHANGELOG.md
6 changes: 6 additions & 0 deletions vendor/github.com/google/uuid/hash.go
39 changes: 34 additions & 5 deletions vendor/github.com/google/uuid/version7.go
6 changes: 3 additions & 3 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ github.com/evanphx/json-patch
# github.com/fsnotify/fsnotify v1.5.4
## explicit; go 1.16
github.com/fsnotify/fsnotify
# github.com/go-co-op/gocron/v2 v2.1.0
# github.com/go-co-op/gocron/v2 v2.2.4
## explicit; go 1.20
github.com/go-co-op/gocron/v2
# github.com/go-logr/logr v1.3.0
@@ -77,7 +77,7 @@ github.com/google/go-cmp/cmp/internal/value
## explicit; go 1.12
github.com/google/gofuzz
github.com/google/gofuzz/bytesource
# github.com/google/uuid v1.5.0
# github.com/google/uuid v1.6.0
## explicit
github.com/google/uuid
# github.com/imdario/mergo v0.3.12
@@ -171,7 +171,7 @@ github.com/robfig/cron/v3
# github.com/spf13/pflag v1.0.5
## explicit; go 1.12
github.com/spf13/pflag
# golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb
# golang.org/x/exp v0.0.0-20231219180239-dc181d75b848
## explicit; go 1.20
golang.org/x/exp/constraints
golang.org/x/exp/maps

Unchanged files with check annotations Beta

nettypes "github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/apis/k8s.cni.cncf.io/v1"
)
func ReplicaSetQuery(rsName string) string {

Check warning on line 9 in e2e/entities/helpers.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported function ReplicaSetQuery should have comment or be unexported

Check warning on line 9 in e2e/entities/helpers.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported function ReplicaSetQuery should have comment or be unexported
return "tier=" + rsName
}
func PodNetworkSelectionElements(networkNames ...string) map[string]string {

Check warning on line 13 in e2e/entities/helpers.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported function PodNetworkSelectionElements should have comment or be unexported
return map[string]string{
nettypes.NetworkAttachmentAnnot: strings.Join(networkNames, ","),
}
"github.com/k8snetworkplumbingwg/whereabouts/pkg/storage"
)
type Checker struct {

Check warning on line 10 in e2e/poolconsistency/checker.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported type Checker should have comment or be unexported
ipPool storage.IPPool
podList []corev1.Pod
}
func NewPoolConsistencyCheck(ipPool storage.IPPool, podList []corev1.Pod) *Checker {

Check warning on line 15 in e2e/poolconsistency/checker.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported function NewPoolConsistencyCheck should have comment or be unexported
return &Checker{
ipPool: ipPool,
podList: podList,
}
}
func (pc *Checker) MissingIPs() []string {

Check warning on line 22 in e2e/poolconsistency/checker.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported method Checker.MissingIPs should have comment or be unexported
var mismatchedIPs []string
for _, pod := range pc.podList {
podIPs, err := retrievers.SecondaryIfaceIPValue(&pod)
return mismatchedIPs
}
func (pc *Checker) StaleIPs() []string {

Check warning on line 48 in e2e/poolconsistency/checker.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported method Checker.StaleIPs should have comment or be unexported
var staleIPs []string
for _, allocation := range pc.ipPool.Allocations() {
reservedIP := allocation.IP.String()
package entities

Check warning on line 1 in e2e/entities/generators.go

GitHub Actions / test (1.21.x, ubuntu-latest)

should have a package comment
import (
v1 "k8s.io/api/apps/v1"
const testImage = "quay.io/dougbtv/alpine:latest"
func PodObject(podName string, namespace string, label, annotations map[string]string) *corev1.Pod {

Check warning on line 11 in e2e/entities/generators.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported function PodObject should have comment or be unexported
return &corev1.Pod{
ObjectMeta: podMeta(podName, namespace, label, annotations),
Spec: podSpec("samplepod"),
return nil
}
func SecondaryIfaceIPValue(pod *core.Pod) ([]string, error) {

Check warning on line 22 in e2e/retrievers/pod.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported function SecondaryIfaceIPValue should have comment or be unexported

Check warning on line 22 in e2e/retrievers/pod.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported function SecondaryIfaceIPValue should have comment or be unexported
podNetStatus, found := pod.Annotations[nettypes.NetworkStatusAnnot]
if !found {
return nil, fmt.Errorf("the pod must feature the `networks-status` annotation")
core "k8s.io/api/core/v1"
)
type Configuration struct {

Check warning on line 10 in e2e/testenvironment/config.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported type Configuration should have comment or be unexported

Check warning on line 10 in e2e/testenvironment/config.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported type Configuration should have comment or be unexported
KubeconfigPath string
numComputeNodes int
fillPercentCapacity int
limitations under the License.
*/
package api

Check warning on line 14 in pkg/api/whereabouts.cni.cncf.io/register.go

GitHub Actions / test (1.21.x, ubuntu-latest)

should have a package comment
// GroupName is the group name used in this package
const (
Plugins []*Net `json:"plugins,omitempty"`
}
type RangeConfiguration struct {

Check warning on line 40 in pkg/types/types.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported type RangeConfiguration should have comment or be unexported
OmitRanges []string `json:"exclude,omitempty"`
Range string `json:"range"`
RangeStart net.IP `json:"range_start,omitempty"`
// DatastoreRetries defines how many retries are attempted when updating the Pool
DatastoreRetries = 100
PodRefreshRetries = 3

Check warning on line 17 in pkg/storage/storage.go

GitHub Actions / test (1.21.x, ubuntu-latest)

exported var PodRefreshRetries should have comment or be unexported
)
// IPPool is the interface that represents an manageable pool of allocated IPs
// "fmt"
"testing"
. "github.com/onsi/ginkgo"

Check warning on line 7 in pkg/storage/storage_test.go

GitHub Actions / test (1.21.x, ubuntu-latest)

should not use dot imports
. "github.com/onsi/gomega"
// "time"
)
package types

Check warning on line 1 in pkg/types/ipsanitizers.go

GitHub Actions / test (1.21.x, ubuntu-latest)

should have a package comment
import (
"fmt"