Documentation ¶
Index ¶
- func GetOutputTypeFromExpression(expr hcl.Expression) (entities.Type, error)
- func GetVarTypeFromExpression(expr hcl.Expression) (entities.Type, error)
- type HCLAttribute
- func (a *HCLAttribute) Bool() (bool, error)
- func (a *HCLAttribute) Keyword() string
- func (a *HCLAttribute) OutputType() (entities.Type, error)
- func (a *HCLAttribute) RawJSON() (json.RawMessage, error)
- func (a *HCLAttribute) String() (string, error)
- func (a *HCLAttribute) VarType() (entities.Type, error)
- func (a *HCLAttribute) VarTypeFromString() (entities.Type, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HCLAttribute ¶
type HCLAttribute struct {
*hcl.Attribute
}
func GetAttribute ¶
func GetAttribute(attrs hcl.Attributes, name string) *HCLAttribute
func (*HCLAttribute) Bool ¶
func (a *HCLAttribute) Bool() (bool, error)
func (*HCLAttribute) Keyword ¶
func (a *HCLAttribute) Keyword() string
func (*HCLAttribute) OutputType ¶
func (a *HCLAttribute) OutputType() (entities.Type, error)
func (*HCLAttribute) RawJSON ¶
func (a *HCLAttribute) RawJSON() (json.RawMessage, error)
func (*HCLAttribute) String ¶
func (a *HCLAttribute) String() (string, error)
func (*HCLAttribute) VarTypeFromString ¶
func (a *HCLAttribute) VarTypeFromString() (entities.Type, error)
Click to show internal directories.
Click to hide internal directories.