engine: resources: Add missing struct tags

These are needed for send/recv.
This commit is contained in:
James Shubin
2019-03-09 16:01:25 -05:00
parent 7cb79bec49
commit 4badeafb98
4 changed files with 17 additions and 17 deletions

View File

@@ -595,11 +595,11 @@ func (obj *ExecRes) UIDs() []engine.ResUID {
// ExecSends is the struct of data which is sent after a successful Apply.
type ExecSends struct {
// Output is the combined stdout and stderr of the command.
Output *string
Output *string `lang:"output"`
// Stdout is the stdout of the command.
Stdout *string
Stdout *string `lang:"stdout"`
// Stderr is the stderr of the command.
Stderr *string
Stderr *string `lang:"stderr"`
}
// Sends represents the default struct of values we can send using Send/Recv.