-
Notifications
You must be signed in to change notification settings - Fork 5
Add support for operation function output #42
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
Conversation
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 |
There was a problem hiding this comment.
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.)
There was a problem hiding this comment.
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 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks!
jbw976
left a comment
There was a problem hiding this 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 |
There was a problem hiding this comment.
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 😉
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>
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.