-
Notifications
You must be signed in to change notification settings - Fork 86
Add WASM plugin support #121
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
|
@saschagrunert Are you able to compile the wasm plugin on your system ? If yes, can you list the tinygo version and other relevant configuration that you are running with ? |
Yes it works, using: I still think knqyf263/go-plugin#67 is a main blocker on this, but there is hope that we can resolve this kind of issue soon. |
5d2afdc to
a058129
Compare
|
Requires knqyf263/go-plugin#69 |
c655cfc to
72d834f
Compare
3e4c1d7 to
50e60c0
Compare
|
@klihub this is ready for review now. |
klihub
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.
@saschagrunert This looks really good and I'd like to start playing around with it more. Thank you for taking the time and effort with this !
I have a small suggestion in the review comments which would allow folks to get the wasm plugin built using the tinygo docker image if their distro does not offer a new enough tinygo toolchain natively.
|
@saschagrunert, looks very nice! Welcome Wasm plugins. |
50e60c0 to
42c036e
Compare
7ba58db to
dd57194
Compare
askervin
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. Thank you, @saschagrunert!
|
@mikebrow are your around to give this a review? |
mikebrow
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.
Nice piece of work.. see comments :-)
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
dd57194 to
112fc36
Compare
|
Updated the PR, thank you! |
mikebrow
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
|
TODO: note .. #121 (comment) need a new struct to formally support multiple plugin types |
Follow-up on: containerd#121 (comment) Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Yes: #125 |
Follow-up on: containerd#121 (comment) Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Follow-up on: containerd#121 (comment) Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Just an inspiration how WASM support could work.