github.com/hernad/nomad@v1.6.112/jobspec2/addrs/input_variable.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  package addrs
     5  
     6  // InputVariable is the address of an input variable.
     7  type InputVariable struct {
     8  	referenceable
     9  	Name string
    10  }
    11  
    12  func (v InputVariable) String() string {
    13  	return "var." + v.Name
    14  }