open-nomad/jobspec2/addrs/input_variable.go

12 lines
195 B
Go
Raw Normal View History

2020-11-09 19:35:02 +00:00
package addrs
// InputVariable is the address of an input variable.
type InputVariable struct {
referenceable
Name string
}
func (v InputVariable) String() string {
return "var." + v.Name
}