Skip to content

Conversation

@negz
Copy link
Member

@negz negz commented Jul 11, 2025

I need this to E2E test operation functions in Crossplane.

This'll also be a breaking change for users of this function, since the SDK renames extra_resources to required_resources. I'm not worried about that - I doubt this is used outside of testing.

go.mod Outdated
go 1.24

toolchain go1.21.3
replace github.com/crossplane/function-sdk-go => github.com/negz/function-sdk-go v0.0.0-20250711051713-67cc65c5665e
Copy link
Member Author

@negz negz Jul 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depends on crossplane/function-sdk-go#212.

Need to release that and remove this before merging.

(This is also what the linter's upset about.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forget to remove this replace statement 😉

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks!

@negz negz changed the title Operational Add support for operation function output Jul 11, 2025
@negz negz marked this pull request as ready for review July 12, 2025 06:43
Copy link
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

go.mod Outdated
go 1.24

toolchain go1.21.3
replace github.com/crossplane/function-sdk-go => github.com/negz/function-sdk-go v0.0.0-20250711051713-67cc65c5665e
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forget to remove this replace statement 😉

negz added 2 commits July 14, 2025 17:04
I need this to E2E test operation functions in Crossplane.

This'll also be a breaking change for users of this function, since the
SDK renames extra_resources to required_resources.

Signed-off-by: Nic Cope <nicc@rk0n.org>
Signed-off-by: Nic Cope <nicc@rk0n.org>
Forgot to bump versions in ci.yaml

Also port linter config to v2, run it.

Signed-off-by: Nic Cope <nicc@rk0n.org>
@negz negz merged commit 2c26523 into crossplane-contrib:main Jul 15, 2025
6 checks passed
@negz negz deleted the operational branch July 15, 2025 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants