Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Support Template Data in Results #5

Merged
merged 8 commits into from
Nov 7, 2020
Merged

Support Template Data in Results #5

merged 8 commits into from
Nov 7, 2020

Conversation

mitchellh
Copy link
Contributor

This only adds fields to the protobufs so should be fully backwards compatible.

This makes the necessary SDK changes so that results from build, push, deploy, release can advertise template data that is available to the Waypoint configuration file.

Plugin result types can now optionally implement the component.Template interface and return template data. If this is not implemented, then we use reflection to automatically turn the public fields of the result value into a template.

Copy link
Contributor

@krantzinator krantzinator left a comment

Choose a reason for hiding this comment

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

Looks solid 🎉

internal/plugin/builder.go Outdated Show resolved Hide resolved
internal/plugin/releaser.go Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants