Skip to content

Commit

Permalink
Update latest golang and mod
Browse files Browse the repository at this point in the history
  • Loading branch information
s1061123 committed Dec 3, 2024
1 parent eaacb08 commit 1858271
Show file tree
Hide file tree
Showing 5 changed files with 146 additions and 1,724 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.23

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13.x
go-version: 1.23.x
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
Expand Down
4 changes: 2 additions & 2 deletions api/crio.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"google.golang.org/grpc"

pb "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
"k8s.io/kubernetes/pkg/kubelet/util"
pb "k8s.io/cri-api/pkg/apis/runtime/v1"
"k8s.io/cri-client/pkg/util"
)

var (
Expand Down
79 changes: 40 additions & 39 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,49 +1,50 @@
module github.com/redhat-nfvpe/koko

go 1.12
go 1.22.0

require (
github.com/MakeNowJust/heredoc v0.0.0-20171113091838-e9091a26100e
github.com/MakeNowJust/heredoc v1.0.0
github.com/containernetworking/plugins v0.9.1
github.com/mattn/go-getopt v0.0.0-20150316012638-824dc755f216
github.com/moby/moby v20.10.20+incompatible
github.com/sirupsen/logrus v1.8.1
github.com/moby/moby v27.3.1+incompatible
github.com/sirupsen/logrus v1.9.3
github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852
golang.org/x/net v0.5.0
google.golang.org/grpc v1.53.0
k8s.io/cri-api v0.20.6
k8s.io/kubernetes v1.24.4
golang.org/x/net v0.30.0
google.golang.org/grpc v1.67.1
k8s.io/cri-api v0.31.3
k8s.io/cri-client v0.31.3
)

replace (
github.com/containerd/containerd => github.com/containerd/containerd v1.5.18
github.com/emicklei/go-restful => github.com/emicklei/go-restful v2.16.0+incompatible
github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
golang.org/x/net => golang.org/x/net v0.7.0
k8s.io/api => k8s.io/api v0.24.4
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.24.4
k8s.io/apimachinery => k8s.io/apimachinery v0.24.4
k8s.io/apiserver => k8s.io/apiserver v0.24.4
k8s.io/cli-runtime => k8s.io/cli-runtime v0.24.4
k8s.io/client-go => k8s.io/client-go v0.24.4
k8s.io/cloud-provider => k8s.io/cloud-provider v0.24.4
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.24.4
k8s.io/code-generator => k8s.io/code-generator v0.24.4
k8s.io/component-base => k8s.io/component-base v0.24.4
k8s.io/component-helpers => k8s.io/component-helpers v0.24.4
k8s.io/controller-manager => k8s.io/controller-manager v0.24.4
k8s.io/cri-api => k8s.io/cri-api v0.24.4
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.24.4
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.24.4
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.24.4
k8s.io/kube-proxy => k8s.io/kube-proxy v0.24.4
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.24.4
k8s.io/kubectl => k8s.io/kubectl v0.24.4
k8s.io/kubelet => k8s.io/kubelet v0.24.4
k8s.io/kubernetes => k8s.io/kubernetes v1.24.4
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.24.4
k8s.io/metrics => k8s.io/metrics v0.24.4
k8s.io/mount-utils => k8s.io/mount-utils v0.24.4
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.24.4
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.24.4
require (
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/docker v27.3.1+incompatible // indirect
github.com/docker/go-connections v0.5.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/moby/docker-image-spec v1.3.1 // indirect
github.com/moby/term v0.5.0 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
go.opentelemetry.io/otel v1.32.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.32.0 // indirect
go.opentelemetry.io/otel/metric v1.32.0 // indirect
go.opentelemetry.io/otel/sdk v1.32.0 // indirect
go.opentelemetry.io/otel/trace v1.32.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/sync v0.9.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.20.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/protobuf v1.35.1 // indirect
gotest.tools/v3 v3.5.1 // indirect
)
Loading

0 comments on commit 1858271

Please sign in to comment.