Documentation
¶
Index ¶
Constants ¶
View Source
const ( DMenuCommandRofi DMenuCommand = "rofi" DMenuCommandWofi = "wofi" DMenuCommandNoop = "noop" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) GetSortedDataSources ¶
func (p *App) GetSortedDataSources() ([]storage.DataSource, error)
type AppOption ¶
type AppOption func(*App)
func WithAccount ¶
func WithBlacklist ¶
func WithCommand ¶
func WithCommand(command DMenuCommand) AppOption
func WithDbPath ¶
func WithPasswordCommand ¶ added in v1.6.1
func WithPasswordCommand(command PasswordCommand) AppOption
func WithVerbose ¶
type DMenuCommand ¶
type DMenuCommand string
func (DMenuCommand) String ¶
func (d DMenuCommand) String() string
type PasswordCommand ¶ added in v1.6.1
type PasswordCommand string
PasswordCommand represents the method used to prompt the user for a password.
const ( PasswordCommandZenity PasswordCommand = "zenity" // Use Zenity GUI prompt for password. PasswordCommandCLI PasswordCommand = "cli" // Use CLI prompt for password. )
Constants representing the different password command methods.
type Resource ¶
type Resource struct { Address string `json:"address,omitempty"` Connected bool `json:"connected"` ConnectionStatus string `json:"connection_status"` Hostname string `json:"hostname"` ID string `json:"id"` Message string `json:"message"` Name string `json:"name"` Tags string `json:"tags"` Type string `json:"type"` WebURL string `json:"web_url,omitempty"` }
Resource represents the details of a resource.
type ResourceType ¶
type ResourceType string
ResourceType represents the type of resource.
const ( TypeRedis ResourceType = "redis" TypePostgres ResourceType = "postgres" TypeAmazonEKS ResourceType = "amazoneks" TypeAmazonES ResourceType = "amazones" TypeAthena ResourceType = "athena" TypeHTTPNoAuth ResourceType = "httpNoAuth" TypeAmazonMQAMQP ResourceType = "amazonmq-amqp-091" TypeRawTCP ResourceType = "rawtcp" )
Resource type constants.
Click to show internal directories.
Click to hide internal directories.