Skip to content

Commit 39e097b

Browse files
Update module github.com/crossplane/crossplane-runtime to v2 and function-sdk-go to v5 (#88)
* Update module github.com/crossplane/crossplane-runtime to v2 * Update to new function-sdk-go Signed-off-by: Yury Tsarev <[email protected]> --------- Signed-off-by: Yury Tsarev <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yury Tsarev <[email protected]>
1 parent d64414f commit 39e097b

File tree

5 files changed

+120
-178
lines changed

5 files changed

+120
-178
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
env:
1616
# Common versions
17-
GO_VERSION: '1.24.2'
17+
GO_VERSION: '1.24.9'
1818
GOLANGCI_VERSION: 'v2.1.5'
1919
DOCKER_BUILDX_VERSION: 'v0.23.0'
2020

fn.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import (
1515
"github.com/upbound/function-azresourcegraph/input/v1beta1"
1616
"google.golang.org/protobuf/types/known/structpb"
1717

18-
"github.com/crossplane/crossplane-runtime/pkg/errors"
19-
"github.com/crossplane/crossplane-runtime/pkg/fieldpath"
20-
"github.com/crossplane/crossplane-runtime/pkg/logging"
18+
"github.com/crossplane/crossplane-runtime/v2/pkg/fieldpath"
19+
"github.com/crossplane/function-sdk-go/errors"
20+
"github.com/crossplane/function-sdk-go/logging"
2121
fnv1 "github.com/crossplane/function-sdk-go/proto/v1"
2222
"github.com/crossplane/function-sdk-go/request"
2323
"github.com/crossplane/function-sdk-go/resource"

fn_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
"google.golang.org/protobuf/testing/protocmp"
1515
"google.golang.org/protobuf/types/known/durationpb"
1616

17-
"github.com/crossplane/crossplane-runtime/pkg/errors"
18-
"github.com/crossplane/crossplane-runtime/pkg/logging"
17+
"github.com/crossplane/function-sdk-go/errors"
18+
"github.com/crossplane/function-sdk-go/logging"
1919
fnv1 "github.com/crossplane/function-sdk-go/proto/v1"
2020
"github.com/crossplane/function-sdk-go/resource"
2121
"github.com/crossplane/function-sdk-go/response"

go.mod

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,80 @@
11
module github.com/upbound/function-azresourcegraph
22

3-
go 1.24.0
4-
5-
toolchain go1.24.5
3+
go 1.24.9
64

75
require (
86
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0
97
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1
108
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph v0.9.0
119
github.com/alecthomas/kong v1.13.0
12-
github.com/crossplane/crossplane-runtime v1.20.0
13-
github.com/crossplane/function-sdk-go v0.4.0
10+
github.com/crossplane/crossplane-runtime/v2 v2.1.0
11+
github.com/crossplane/function-sdk-go v0.5.0
1412
github.com/google/go-cmp v0.7.0
1513
google.golang.org/protobuf v1.36.10
1614
k8s.io/apimachinery v0.34.2
1715
sigs.k8s.io/controller-tools v0.19.0
1816
)
1917

2018
require (
21-
dario.cat/mergo v1.0.1 // indirect
19+
dario.cat/mergo v1.0.2 // indirect
2220
github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.2 // indirect
2321
github.com/AzureAD/microsoft-authentication-library-for-go v1.6.0 // indirect
22+
github.com/beorn7/perks v1.0.1 // indirect
23+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2424
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2525
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
26-
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
26+
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
2727
github.com/fatih/color v1.18.0 // indirect
2828
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
2929
github.com/go-json-experiment/json v0.0.0-20240815175050-ebd3a8989ca1 // indirect
3030
github.com/go-logr/logr v1.4.3 // indirect
3131
github.com/go-logr/zapr v1.3.0 // indirect
3232
github.com/go-openapi/jsonpointer v0.21.0 // indirect
33-
github.com/go-openapi/jsonreference v0.20.2 // indirect
33+
github.com/go-openapi/jsonreference v0.21.0 // indirect
3434
github.com/go-openapi/swag v0.23.0 // indirect
3535
github.com/gobuffalo/flect v1.0.3 // indirect
3636
github.com/gogo/protobuf v1.3.2 // indirect
3737
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
3838
github.com/google/gnostic-models v0.7.0 // indirect
3939
github.com/google/uuid v1.6.0 // indirect
40+
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0 // indirect
41+
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.0 // indirect
4042
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4143
github.com/josharian/intern v1.0.0 // indirect
4244
github.com/json-iterator/go v1.1.12 // indirect
4345
github.com/kylelemons/godebug v1.1.0 // indirect
4446
github.com/mailru/easyjson v0.7.7 // indirect
45-
github.com/mattn/go-colorable v0.1.13 // indirect
47+
github.com/mattn/go-colorable v0.1.14 // indirect
4648
github.com/mattn/go-isatty v0.0.20 // indirect
4749
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4850
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
4951
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5052
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
5153
github.com/pkg/errors v0.9.1 // indirect
52-
github.com/spf13/afero v1.11.0 // indirect
53-
github.com/spf13/cobra v1.9.1 // indirect
54-
github.com/spf13/pflag v1.0.7 // indirect
54+
github.com/prometheus/client_golang v1.22.0 // indirect
55+
github.com/prometheus/client_model v0.6.1 // indirect
56+
github.com/prometheus/common v0.62.0 // indirect
57+
github.com/prometheus/procfs v0.15.1 // indirect
58+
github.com/spf13/afero v1.12.0 // indirect
59+
github.com/spf13/cobra v1.10.1 // indirect
60+
github.com/spf13/pflag v1.0.10 // indirect
5561
github.com/x448/float16 v0.8.4 // indirect
5662
go.uber.org/multierr v1.11.0 // indirect
5763
go.uber.org/zap v1.27.0 // indirect
5864
go.yaml.in/yaml/v2 v2.4.2 // indirect
5965
go.yaml.in/yaml/v3 v3.0.4 // indirect
60-
golang.org/x/crypto v0.41.0 // indirect
61-
golang.org/x/mod v0.27.0 // indirect
62-
golang.org/x/net v0.43.0 // indirect
63-
golang.org/x/oauth2 v0.27.0 // indirect
64-
golang.org/x/sync v0.16.0 // indirect
65-
golang.org/x/sys v0.35.0 // indirect
66-
golang.org/x/term v0.34.0 // indirect
67-
golang.org/x/text v0.28.0 // indirect
68-
golang.org/x/time v0.9.0 // indirect
69-
golang.org/x/tools v0.36.0 // indirect
70-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb // indirect
71-
google.golang.org/grpc v1.72.1 // indirect
66+
golang.org/x/crypto v0.43.0 // indirect
67+
golang.org/x/mod v0.29.0 // indirect
68+
golang.org/x/net v0.46.0 // indirect
69+
golang.org/x/oauth2 v0.30.0 // indirect
70+
golang.org/x/sync v0.17.0 // indirect
71+
golang.org/x/sys v0.37.0 // indirect
72+
golang.org/x/term v0.36.0 // indirect
73+
golang.org/x/text v0.30.0 // indirect
74+
golang.org/x/time v0.11.0 // indirect
75+
golang.org/x/tools v0.38.0 // indirect
76+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251007200510-49b9836ed3ff // indirect
77+
google.golang.org/grpc v1.75.1 // indirect
7278
gopkg.in/inf.v0 v0.9.1 // indirect
7379
gopkg.in/yaml.v2 v2.4.0 // indirect
7480
gopkg.in/yaml.v3 v3.0.1 // indirect
@@ -79,8 +85,8 @@ require (
7985
k8s.io/gengo/v2 v2.0.0-20250604051438-85fd79dbfd9f // indirect
8086
k8s.io/klog/v2 v2.130.1 // indirect
8187
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b // indirect
82-
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 // indirect
83-
sigs.k8s.io/controller-runtime v0.19.0 // indirect
88+
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 // indirect
89+
sigs.k8s.io/controller-runtime v0.22.0 // indirect
8490
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
8591
sigs.k8s.io/randfill v1.0.0 // indirect
8692
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect

0 commit comments

Comments
 (0)