Documentation ¶
Index ¶
- func ShowConfirm(styles config.Dialog, pages *ui.Pages, title, msg string, ack confirmFunc, ...)
- func ShowConfirmAck(app *ui.App, pages *ui.Pages, acceptStr string, override bool, ...)
- func ShowDelete(styles config.Dialog, pages *ui.Pages, msg string, ok okFunc, ...)
- func ShowError(styles config.Dialog, pages *ui.Pages, msg string)
- func ShowPrompt(styles config.Dialog, pages *ui.Pages, title, msg string, action promptAction, ...)
- func ShowSelection(styles config.Dialog, pages *ui.Pages, title string, options []string, ...)
- func ShowUploads(styles config.Dialog, pages *ui.Pages, opts TransferDialogOpts)
- type SelectAction
- type TransferArgs
- type TransferDialogOpts
- type TransferFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShowConfirm ¶
func ShowConfirm(styles config.Dialog, pages *ui.Pages, title, msg string, ack confirmFunc, cancel cancelFunc)
ShowConfirm pops a confirmation dialog.
func ShowConfirmAck ¶
func ShowDelete ¶
ShowDelete pops a resource deletion dialog.
func ShowPrompt ¶
func ShowPrompt(styles config.Dialog, pages *ui.Pages, title, msg string, action promptAction, cancel cancelFunc)
ShowPrompt pops a prompt dialog.
func ShowSelection ¶
func ShowUploads ¶
func ShowUploads(styles config.Dialog, pages *ui.Pages, opts TransferDialogOpts)
Types ¶
type SelectAction ¶
type SelectAction func(index int)
type TransferArgs ¶
type TransferDialogOpts ¶
type TransferDialogOpts struct { Containers []string Pod string Title, Message string Retries int Ack TransferFn Cancel cancelFunc }
type TransferFn ¶
type TransferFn func(TransferArgs) bool
Click to show internal directories.
Click to hide internal directories.