secrets

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 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 Secrets

type Secrets struct {
	*tview.Box
	// contains filtered or unexported fields
}

Secrets implements the secrets page primitive.

func NewSecrets

func NewSecrets() *Secrets

NewSecrets returns secrets page view.

func (*Secrets) ClearData

func (s *Secrets) ClearData()

ClearData clears table data.

func (*Secrets) Draw

func (s *Secrets) Draw(screen tcell.Screen)

Draw draws this primitive onto the screen.

func (*Secrets) Focus

func (s *Secrets) Focus(delegate func(p tview.Primitive))

Focus is called when this primitive receives focus.

func (*Secrets) GetTitle

func (s *Secrets) GetTitle() string

GetTitle returns primitive title.

func (*Secrets) HasFocus

func (s *Secrets) HasFocus() bool

HasFocus returns whether or not this primitive has focus.

func (*Secrets) HideAllDialogs

func (s *Secrets) HideAllDialogs()

HideAllDialogs hides all sub dialogs.

func (*Secrets) InputHandler

func (s *Secrets) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

InputHandler returns the handler for this primitive.

func (*Secrets) SubDialogHasFocus

func (s *Secrets) SubDialogHasFocus() bool

SubDialogHasFocus returns whether or not sub dialog primitive has focus.

func (*Secrets) UpdateData

func (s *Secrets) UpdateData()

UpdateData retrieves secrets list data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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