Versions in this module Expand all Collapse all v0 v0.1.3 Oct 10, 2023 v0.1.2 Oct 8, 2023 Changes in this version + var ErrNotPointerToStruct = errors.New("val must be a pointer to a struct") + type Decoder struct + LikeDistros bool + Overrides bool + Runner *interp.Runner + func New(info *distro.OSRelease, runner *interp.Runner) *Decoder + func (d *Decoder) DecodeVar(name string, val any) error + func (d *Decoder) DecodeVars(val any) error + func (d *Decoder) GetFunc(name string) (ScriptFunc, bool) + type InvalidTypeError struct + func (ite InvalidTypeError) Error() string + type ScriptFunc func(ctx context.Context, opts ...interp.RunnerOption) error + type VarNotFoundError struct + func (nfe VarNotFoundError) Error() string