Documentation ¶
Index ¶
- Constants
- type PlayMode
- type Playground
- func (C *Playground) Decode(input map[string]any) (widget.Widget, error)
- func (C *Playground) Encode() (map[string]any, error)
- func (C *Playground) ExportFinalToFile(filename string) error
- func (C *Playground) Focus(delegate func(p tview.Primitive))
- func (C *Playground) GetEditConfig() *helpers.SourceConfig
- func (C *Playground) GetSourceConfigs() []*helpers.SourceConfig
- func (C *Playground) GetValue() cue.Value
- func (C *Playground) GetValueExpr(expr string) func() cue.Value
- func (C *Playground) HandleAction(action string, args []string, context map[string]any) (bool, error)
- func (C *Playground) Mount(context map[string]any) error
- func (C *Playground) PushToPlayground() (string, error)
- func (C *Playground) Rebuild() error
- func (C *Playground) RebuildEditTitle()
- func (C *Playground) SetDebounceTime(args []string, context map[string]any) error
- func (C *Playground) SetFlexDirection(dir int)
- func (C *Playground) ToggleShowScope()
- func (*Playground) TypeName() string
- func (C *Playground) UseScope(use bool)
- func (C *Playground) WriteEditToFile(filename string) error
Constants ¶
View Source
const HTTP2_GOAWAY_CHECK = "http2: server sent GOAWAY and closed the connection"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Playground ¶
type Playground struct { // *tview.Frame eventually? *tview.Flex // contains filtered or unexported fields }
func New ¶
func New(initialText string) *Playground
func (*Playground) ExportFinalToFile ¶
func (C *Playground) ExportFinalToFile(filename string) error
func (*Playground) Focus ¶
func (C *Playground) Focus(delegate func(p tview.Primitive))
func (*Playground) GetEditConfig ¶
func (C *Playground) GetEditConfig() *helpers.SourceConfig
func (*Playground) GetSourceConfigs ¶
func (C *Playground) GetSourceConfigs() []*helpers.SourceConfig
func (*Playground) GetValue ¶
func (C *Playground) GetValue() cue.Value
func (*Playground) GetValueExpr ¶
func (C *Playground) GetValueExpr(expr string) func() cue.Value
func (*Playground) HandleAction ¶
func (*Playground) PushToPlayground ¶
func (C *Playground) PushToPlayground() (string, error)
func (*Playground) Rebuild ¶
func (C *Playground) Rebuild() error
func (*Playground) RebuildEditTitle ¶
func (C *Playground) RebuildEditTitle()
func (*Playground) SetDebounceTime ¶
func (C *Playground) SetDebounceTime(args []string, context map[string]any) error
func (*Playground) SetFlexDirection ¶
func (C *Playground) SetFlexDirection(dir int)
func (*Playground) ToggleShowScope ¶
func (C *Playground) ToggleShowScope()
func (*Playground) TypeName ¶
func (*Playground) TypeName() string
func (*Playground) UseScope ¶
func (C *Playground) UseScope(use bool)
func (*Playground) WriteEditToFile ¶
func (C *Playground) WriteEditToFile(filename string) error
Click to show internal directories.
Click to hide internal directories.