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 ShowUploads(styles config.Dialog, pages *ui.Pages, opts TransferDialogOpts)
- 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 ¶ added in v0.28.1
func ShowDelete ¶
ShowDelete pops a resource deletion dialog.
func ShowPrompt ¶ added in v0.30.1
func ShowPrompt(styles config.Dialog, pages *ui.Pages, title, msg string, action promptAction, cancel cancelFunc)
ShowPrompt pops a prompt dialog.
func ShowUploads ¶ added in v0.28.0
func ShowUploads(styles config.Dialog, pages *ui.Pages, opts TransferDialogOpts)
Types ¶
type TransferArgs ¶ added in v0.32.1
type TransferDialogOpts ¶ added in v0.28.0
type TransferDialogOpts struct { Containers []string Pod string Title, Message string Retries int Ack TransferFn Cancel cancelFunc }
type TransferFn ¶ added in v0.28.0
type TransferFn func(TransferArgs) bool
Click to show internal directories.
Click to hide internal directories.