ui

package
v0.0.0-...-a6198c1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type TNodeRef

type TNodeRef struct {
	Displayname string
	Type        int
	PP          backend.PathPermissions
	Instance    *backend.VaultInstance
}

func BuildNodeRef

func BuildNodeRef(vi *backend.VaultInstance, name string, ntype int, pp backend.PathPermissions) *TNodeRef

0 = name space 1 = exact 2 = glob 3 = has capabilities 4 = connection

func (*TNodeRef) Expand

func (tnt *TNodeRef) Expand(target *tview.TreeNode)

func (*TNodeRef) GetInfo

func (tn *TNodeRef) GetInfo() string

type Viewer

type Viewer struct {
	// contains filtered or unexported fields
}

func Get

func Get(vic config.VaultInstanceConfig, grid *tview.Grid) *Viewer

func (*Viewer) ShowInfo

func (vwr *Viewer) ShowInfo(ref *TNodeRef)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳