Versions in this module Expand all Collapse all v1 v1.21.1 Aug 24, 2023 Changes in this version + func MakeLoad() func(thread *starlark.Thread, module string) (starlark.StringDict, error) + type Context interface + CallCommand func(cmdstr string) error + Client func() service.Client + LoadConfig func() api.LoadConfig + RegisterCommand func(name, helpMsg string, cmdfn func(args string) error) + Scope func() api.EvalScope + type EchoWriter interface + Echo func(string) + Flush func() + type Env struct + func New(ctx Context, out EchoWriter) *Env + func (env *Env) Cancel() + func (env *Env) Execute(path string, source interface{}, mainFnName string, args []interface{}) (_ starlark.Value, _err error) + func (env *Env) REPL() error + func (env *Env) Redirect(out EchoWriter)