Versions in this module Expand all Collapse all v0 v0.1.6 Jun 19, 2021 Changes in this version + func NewArgError(i int, err error) error + func NewArgErrorf(i int, f string, args ...interface{}) error + type ArgError struct + Index int + type Function struct + func New(spec *Spec) Function + func Unpredictable(f Function) Function + func (f Function) Call(args []cty.Value) (val cty.Value, err error) + func (f Function) Params() []Parameter + func (f Function) Proxy() ProxyFunc + func (f Function) ReturnType(argTypes []cty.Type) (cty.Type, error) + func (f Function) ReturnTypeForValues(args []cty.Value) (ty cty.Type, err error) + func (f Function) VarParam() *Parameter + type ImplFunc func(args []cty.Value, retType cty.Type) (cty.Value, error) + type PanicError struct + Stack []byte + Value interface{} + func (e PanicError) Error() string + type Parameter struct + AllowDynamicType bool + AllowMarked bool + AllowNull bool + AllowUnknown bool + Name string + Type cty.Type + type ProxyFunc func(args ...cty.Value) (cty.Value, error) + type Spec struct + Impl ImplFunc + Params []Parameter + Type TypeFunc + VarParam *Parameter + type TypeFunc func(args []cty.Value) (cty.Type, error) + func StaticReturnType(ty cty.Type) TypeFunc