Documentation
¶
Index ¶
- func NewHelpView(app common.AppController) tview.Primitive
- func ShowConfirmation(app common.AppController, actionName, item string, onConfirm func(force bool))
- func ShowEnvEditor(app common.AppController, subject string, items []EnvItem, ...)
- func ShowForm(app common.AppController, title string, fields []FormField, ...)
- func ShowFormWithDescription(app common.AppController, title, description string, fields []FormField, ...)
- func ShowInput(app common.AppController, title, label, initialText string, ...)
- func ShowMountEditor(app common.AppController, subject string, items []MountAttachItem, ...)
- func ShowMultiPicker(app common.AppController, title string, subject string, ...)
- func ShowPicker(app common.AppController, title string, items []PickerItem, ...)
- func ShowPickerLoading(app common.AppController, title string)
- func ShowPortForwardDialog(app common.AppController, containerID, containerName string, ports []PortInfo, ...)
- func ShowResultModal(app common.AppController, action string, successCount int, errors []string)
- func ShowSecretEditor(app common.AppController, subject string, items []SecretAttachItem, ...)
- func ShowTextView(app common.AppController, title, content string)
- type EnvItem
- type FieldType
- type FormField
- type FormResult
- type MountAttachItem
- type MultiPickerItem
- type PickerItem
- type PortForwardResult
- type PortInfo
- type SecretAttachItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHelpView ¶
func NewHelpView(app common.AppController) tview.Primitive
func ShowConfirmation ¶
func ShowConfirmation(app common.AppController, actionName, item string, onConfirm func(force bool))
ShowConfirmation shows a modal asking to type "y" or "yes" and allows forcing
func ShowEnvEditor ¶ added in v0.42.75
func ShowEnvEditor(app common.AppController, subject string, items []EnvItem, onConfirm func(envVars []string))
func ShowForm ¶ added in v0.42.75
func ShowForm(app common.AppController, title string, fields []FormField, onSubmit func(result FormResult))
func ShowFormWithDescription ¶ added in v0.42.75
func ShowFormWithDescription(app common.AppController, title, description string, fields []FormField, onSubmit func(result FormResult))
func ShowInput ¶
func ShowInput(app common.AppController, title, label, initialText string, onDone func(text string))
ShowInput shows a modal with an input field
func ShowMountEditor ¶ added in v0.49.101
func ShowMountEditor(app common.AppController, subject string, items []MountAttachItem, availableVolumes map[string]bool, onConfirm func([]MountAttachItem))
func ShowMultiPicker ¶ added in v0.42.75
func ShowMultiPicker(app common.AppController, title string, subject string, items []MultiPickerItem, onConfirm func(selected []string))
func ShowPicker ¶
func ShowPicker(app common.AppController, title string, items []PickerItem, onSelect func(value string), onClose ...func())
func ShowPickerLoading ¶ added in v0.49.95
func ShowPickerLoading(app common.AppController, title string)
func ShowPortForwardDialog ¶ added in v0.49.95
func ShowPortForwardDialog(app common.AppController, containerID, containerName string, ports []PortInfo, onSubmit func(result PortForwardResult))
func ShowResultModal ¶
func ShowResultModal(app common.AppController, action string, successCount int, errors []string)
func ShowSecretEditor ¶ added in v0.49.101
func ShowSecretEditor(app common.AppController, subject string, items []SecretAttachItem, onConfirm func([]SecretAttachItem))
func ShowTextView ¶
func ShowTextView(app common.AppController, title, content string)
Types ¶
type FormResult ¶ added in v0.42.75
type MountAttachItem ¶ added in v0.49.101
type MultiPickerItem ¶ added in v0.42.75
type PickerItem ¶
type PortForwardResult ¶ added in v0.49.95
Click to show internal directories.
Click to hide internal directories.