component

package
v0.0.0-...-708027e Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvironmentSoftware  Destination = "ENVIRONMENT_SOFTWARE"
	EnvironmentActions               = "ENVIRONMENT_ACTIONS"
	EnvironmentOperation             = "ENVIRONMENT_OPERATION"

	Infrastructure = "INFRASTRUCTURE"
	Configuration  = "CONFIGURATION"
	Application    = "APPLICATION"
	Manual         = "MANUAL"
)

Navigation destinations

View Source
const (
	EnterKey     string = "enter"
	QKey                = "q"
	ControlCKey         = "ctrl+c"
	BackspaceKey        = "backspace"
	HomeKey             = "home"
)
View Source
const (
	ActionNameInstall   string = "Install"
	ActionNameUpdate           = "Update"
	ActionNameReinstall        = "Reinstall"
	ActionNameUninstall        = "Uninstall"
	ActionNameValidate         = "Validate"
)
View Source
const (
	SoftwareCodeDocker        string = "DOCKER"
	SoftwareNameDocker        string = "Docker"
	SoftwareDescriptionDocker string = "Docker is a platform designed to help developers build, share, and run container applications."

	SoftwareCodeJdk        string = "JDK"
	SoftwareNameJdk        string = "Java Development Kit"
	SoftwareDescriptionJdk string = "Java Development Kit is a software development kit used to develop Java applications."

	SoftwareCodeMaven        string = "MAVEN"
	SoftwareNameMaven        string = "Apache Maven"
	SoftwareDescriptionMaven string = "Apache Maven can manage a project's build, reporting and documentation from a central piece of information."

	SoftwareCodeVsCode        string = "VSCODE"
	SoftwareNameVsCode        string = "Visual Studio Code"
	SoftwareDescriptionVsCode string = "Visual Studio Code is a source code editor developed by Microsoft."

	SoftwareCodeIntelliJCom        string = "INTELLIJ_COMMUNITY"
	SoftwareNameIntelliJCom        string = "IntelliJ Community"
	SoftwareDescriptionIntelliJCom string = "IntelliJ Community is an open-source integrated development environment."

	SoftwareCodeIntelliJUlt        string = "INTELLIJ_ULTIMATE"
	SoftwareNameIntelliJUlt        string = "IntelliJ Ultimate"
	SoftwareDescriptionIntelliJUlt string = "IntelliJ Ultimate is a commercial integrated development environment."

	SoftwareCodeEclipse        string = "ECLIPSE"
	SoftwareNameEclipse        string = "Eclipse"
	SoftwareDescriptionEclipse string = "Eclipse is an integrated development environment used in computer programming."

	SoftwareCodePostman        string = "POSTMAN"
	SoftwareNamePostman        string = "Postman"
	SoftwareDescriptionPostman string = "Postman is a collaboration platform for API development."

	SoftwareCodeGit        string = "GIT"
	SoftwareNameGit        string = "Git"
	SoftwareDescriptionGit string = "Git is a distributed version control system."

	SoftwareCodeDbeaver        string = "DBEAVER"
	SoftwareNameDbeaver        string = "DBeaver"
	SoftwareDescriptionDbeaver string = "DBeaver is a free multi-platform database tool for developers, SQL programmers, database administrators and analysts."
)

Variables

This section is empty.

Functions

func AdditionalFullHelpKeys

func AdditionalFullHelpKeys() []key.Binding

func GetMenuActionDescription

func GetMenuActionDescription(action string, software *Software) string

Types

type Action

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

func ActionAll

func ActionAll(software *Software) []Action

func ActionInstall

func ActionInstall(software *Software) Action

func ActionReinstall

func ActionReinstall(software *Software) Action

func ActionUninstall

func ActionUninstall(software *Software) Action

func ActionUpdate

func ActionUpdate(software *Software) Action

func ActionValidate

func ActionValidate(software *Software) Action

func (*Action) Description

func (a *Action) Description() string

func (*Action) Name

func (a *Action) Name() string

type Destination

type Destination string
type MenuItem struct {
	// contains filtered or unexported fields
}

func NewMenuItemDestination

func NewMenuItemDestination(title string, description string, destination Destination) MenuItem

func NewMenuItemDestinationSoftware

func NewMenuItemDestinationSoftware(title string, description string, destination Destination, software Software) MenuItem

func NewMenuItemDestinationSoftwareAction

func NewMenuItemDestinationSoftwareAction(title string, description string, destination Destination, software Software, action Action) MenuItem

func NewMenuItemSoftware

func NewMenuItemSoftware(title string, description string, software Software) MenuItem
func (i MenuItem) Action() Action
func (i MenuItem) Description() string
func (i MenuItem) Destination() Destination
func (i MenuItem) FilterValue() string
func (i MenuItem) Software() Software
func (i MenuItem) Title() string

type Software

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

func SoftwareAll

func SoftwareAll() []Software

func SoftwareDbeaver

func SoftwareDbeaver() Software

func SoftwareDocker

func SoftwareDocker() Software

func SoftwareEclipse

func SoftwareEclipse() Software

func SoftwareGit

func SoftwareGit() Software

func SoftwareIntelliJCom

func SoftwareIntelliJCom() Software

func SoftwareIntelliJUlt

func SoftwareIntelliJUlt() Software

func SoftwareJdk

func SoftwareJdk() Software

func SoftwareMaven

func SoftwareMaven() Software

func SoftwarePostman

func SoftwarePostman() Software

func SoftwareVsCode

func SoftwareVsCode() Software

func (*Software) Actions

func (s *Software) Actions() map[string][]tea.Cmd

func (*Software) Code

func (s *Software) Code() string

func (*Software) Description

func (s *Software) Description() string

func (*Software) Name

func (s *Software) Name() string

Jump to

Keyboard shortcuts

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