browser

package
v0.6.9-alpha.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Browser

type Browser struct {
	*tview.Frame
	// contains filtered or unexported fields
}

func New

func New(source *helpers.SourceConfig, mode string) *Browser

func (*Browser) AddAt

func (VB *Browser) AddAt(target *tview.TreeNode, path string)

func (*Browser) BuildStatusString

func (VB *Browser) BuildStatusString() string

func (*Browser) Encode

func (V *Browser) Encode() (map[string]any, error)

func (*Browser) Focus

func (VB *Browser) Focus(delegate func(p tview.Primitive))

func (*Browser) GetConnValue

func (VB *Browser) GetConnValue() cue.Value

func (*Browser) GetConnValueExpr

func (VB *Browser) GetConnValueExpr(expr string) func() cue.Value

func (*Browser) GetMode

func (VB *Browser) GetMode() string

func (*Browser) GetUsingScope

func (VB *Browser) GetUsingScope() bool

func (*Browser) GetValueText

func (C *Browser) GetValueText(mode string) (string, error)

func (*Browser) Options

func (VB *Browser) Options() []cue.Option

func (*Browser) Rebuild

func (C *Browser) Rebuild()

func (*Browser) SetMode

func (VB *Browser) SetMode(mode string)

func (*Browser) SetSourceConfig

func (B *Browser) SetSourceConfig(source *helpers.SourceConfig)

func (*Browser) SetUsingScope

func (VB *Browser) SetUsingScope(usingScope bool)

func (*Browser) SetupKeybinds

func (VB *Browser) SetupKeybinds()

func (*Browser) TypeName

func (*Browser) TypeName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL