plugins

package
v0.49.104 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Headers = []string{"ID", "NAME", "ENABLED", "DESCRIPTION"}

Functions

func DeleteAction

func DeleteAction(app common.AppController, v *view.ResourceView)

func Fetch

func GetShortcuts

func GetShortcuts() []string

func InputHandler

func InputHandler(v *view.ResourceView, event *tcell.EventKey) *tcell.EventKey

func Inspect

func Inspect(app common.AppController, id string)

func Install

func Install(app common.AppController)

func Remove

func Remove(id string, force bool, app common.AppController) error

func ToggleAction

func ToggleAction(app common.AppController, v *view.ResourceView)

Types

type Plugin

type Plugin struct {
	ID          string
	Name        string
	Enabled     bool
	Description string
}

func (Plugin) GetCells

func (p Plugin) GetCells() []string

func (Plugin) GetColumnValue

func (p Plugin) GetColumnValue(column string) string

func (Plugin) GetDefaultColumn

func (p Plugin) GetDefaultColumn() string

func (Plugin) GetDefaultSortColumn

func (p Plugin) GetDefaultSortColumn() string

func (Plugin) GetID

func (p Plugin) GetID() string

func (Plugin) GetStatusColor

func (p Plugin) GetStatusColor() (tcell.Color, tcell.Color)

Jump to

Keyboard shortcuts

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