-
Notifications
You must be signed in to change notification settings - Fork 2
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
Plugin caller #60
Plugin caller #60
Conversation
plugins/content/text/plugin.go
Outdated
func (Plugin) GetPlugins() []plugin.Plugin { | ||
return []plugin.Plugin{ | ||
func (Plugin) GetPlugins() []plugininterface.Plugin { | ||
// HACK: rpc: gob error encoding body: gob: type cty.Type has no exported fields |
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.
The problem is here. I welcome any suggestions, but it seems that we have to encode-decode specs into json.
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.
to rebroadcast from slack: looking at the hashicorp/packer-plugin-sdk#188, it seems hashicorp/go-plugin with gRPC and msgpack is the way to go
61655f8
to
08b0792
Compare
fb55321
to
c1910aa
Compare
@Andrew-Morozko can we merge this? |
Issue:
Config and Invocation specs come over the rpc channel as nil:
rpc: gob error encoding body: gob: type cty.Type has no exported fields
See below