Skip to content

Commit 51b9796

Browse files
committed
Update guide on how to write a composition function in go
Signed-off-by: Jonasz Łasut-Balcerzak <[email protected]>
1 parent 619871a commit 51b9796

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

content/master/guides/write-a-composition-function-in-go.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ import (
275275
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
276276
"k8s.io/utils/ptr"
277277

278-
"github.com/crossplane-contrib/provider-upjet-aws/apis/s3/v1beta1"
278+
"github.com/upbound/provider-aws/v2/apis/namespaced/s3/v1beta1"
279279

280280
"github.com/crossplane/function-sdk-go/errors"
281281
"github.com/crossplane/function-sdk-go/logging"
@@ -432,7 +432,7 @@ using the same strongly typed structs Crossplane uses in its providers.
432432
You must get the AWS Provider Go module to use this type:
433433

434434
```shell
435-
go get github.com/crossplane-contrib/provider-upjet-aws@v2.0.0
435+
go get github.com/upbound/provider-aws/v2@v2.3.0
436436
```
437437

438438
Crossplane provides a
@@ -475,7 +475,7 @@ import (
475475
"google.golang.org/protobuf/testing/protocmp"
476476
"google.golang.org/protobuf/types/known/durationpb"
477477

478-
"github.com/crossplane/crossplane-runtime/pkg/logging"
478+
"github.com/crossplane/crossplane-runtime/v2/pkg/logging"
479479

480480
fnv1 "github.com/crossplane/function-sdk-go/proto/v1"
481481
"github.com/crossplane/function-sdk-go/resource"

content/v2.0/guides/write-a-composition-function-in-go.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ import (
275275
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
276276
"k8s.io/utils/ptr"
277277

278-
"github.com/crossplane-contrib/provider-upjet-aws/apis/s3/v1beta1"
278+
"github.com/upbound/provider-aws/v2/apis/namespaced/s3/v1beta1"
279279

280280
"github.com/crossplane/function-sdk-go/errors"
281281
"github.com/crossplane/function-sdk-go/logging"
@@ -432,7 +432,7 @@ using the same strongly typed structs Crossplane uses in its providers.
432432
You must get the AWS Provider Go module to use this type:
433433

434434
```shell
435-
go get github.com/crossplane-contrib/provider-upjet-aws@v2.0.0
435+
go get github.com/upbound/provider-aws/v2@v2.3.0
436436
```
437437

438438
Crossplane provides a
@@ -475,7 +475,7 @@ import (
475475
"google.golang.org/protobuf/testing/protocmp"
476476
"google.golang.org/protobuf/types/known/durationpb"
477477

478-
"github.com/crossplane/crossplane-runtime/pkg/logging"
478+
"github.com/crossplane/crossplane-runtime/v2/pkg/logging"
479479

480480
fnv1 "github.com/crossplane/function-sdk-go/proto/v1"
481481
"github.com/crossplane/function-sdk-go/resource"

content/v2.1/guides/write-a-composition-function-in-go.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ import (
275275
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
276276
"k8s.io/utils/ptr"
277277

278-
"github.com/crossplane-contrib/provider-upjet-aws/apis/s3/v1beta1"
278+
"github.com/upbound/provider-aws/v2/apis/namespaced/s3/v1beta1"
279279

280280
"github.com/crossplane/function-sdk-go/errors"
281281
"github.com/crossplane/function-sdk-go/logging"
@@ -432,7 +432,7 @@ using the same strongly typed structs Crossplane uses in its providers.
432432
You must get the AWS Provider Go module to use this type:
433433

434434
```shell
435-
go get github.com/crossplane-contrib/provider-upjet-aws@v2.0.0
435+
go get github.com/upbound/provider-aws/v2@v2.3.0
436436
```
437437

438438
Crossplane provides a
@@ -475,7 +475,7 @@ import (
475475
"google.golang.org/protobuf/testing/protocmp"
476476
"google.golang.org/protobuf/types/known/durationpb"
477477

478-
"github.com/crossplane/crossplane-runtime/pkg/logging"
478+
"github.com/crossplane/crossplane-runtime/v2/pkg/logging"
479479

480480
fnv1 "github.com/crossplane/function-sdk-go/proto/v1"
481481
"github.com/crossplane/function-sdk-go/resource"

0 commit comments

Comments
 (0)