Documentation ¶
Index ¶
- type Addr
- type Body
- type Expression
- func (e Expression) Addr() (Addr, error)
- func (e Expression) AsFloat64() (float64, error)
- func (e Expression) Bool() (bool, error)
- func (e Expression) Int64() (int64, error)
- func (e Expression) SliceAddr() ([]*Addr, error)
- func (e Expression) SliceString() ([]string, error)
- func (e Expression) String() (string, error)
- type Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addr ¶ added in v0.5.0
Addr represents resource reference.
func AddrFromStrings ¶ added in v0.5.0
func ParseTraversalToAddr ¶ added in v0.5.0
func (Addr) OnlyRefNames ¶ added in v0.5.0
OnlyRefNames returns reference name without the keyword.
type Body ¶
type Body struct {
hcl.Body
}
func (*Body) DefRangesFromPartialContentAttributes ¶
func (*Body) DefRangesFromPartialContentBlocks ¶
func (b *Body) DefRangesFromPartialContentBlocks(schema *hcl.BodySchema) []hcl.Range
type Expression ¶
type Expression struct { Expr hcl.Expression EvalContext *hcl.EvalContext }
func (Expression) Addr ¶ added in v0.5.0
func (e Expression) Addr() (Addr, error)
func (Expression) AsFloat64 ¶ added in v0.4.2
func (e Expression) AsFloat64() (float64, error)
func (Expression) Bool ¶ added in v0.5.0
func (e Expression) Bool() (bool, error)
func (Expression) Int64 ¶ added in v0.5.0
func (e Expression) Int64() (int64, error)
func (Expression) SliceAddr ¶ added in v0.5.0
func (e Expression) SliceAddr() ([]*Addr, error)
func (Expression) SliceString ¶ added in v0.5.0
func (e Expression) SliceString() ([]string, error)
func (Expression) String ¶ added in v0.5.0
func (e Expression) String() (string, error)
Click to show internal directories.
Click to hide internal directories.