Documentation
¶
Index ¶
- type SecretCreateDialog
- func (d *SecretCreateDialog) Display()
- func (d *SecretCreateDialog) Draw(screen tcell.Screen)
- func (d *SecretCreateDialog) Focus(delegate func(p tview.Primitive))
- func (d *SecretCreateDialog) GetCreateOptions() *secrets.SecretCreateOptions
- func (d *SecretCreateDialog) HasFocus() bool
- func (d *SecretCreateDialog) Hide()
- func (d *SecretCreateDialog) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
- func (d *SecretCreateDialog) IsDisplay() bool
- func (d *SecretCreateDialog) SetCancelFunc(handler func()) *SecretCreateDialog
- func (d *SecretCreateDialog) SetCreateFunc(handler func()) *SecretCreateDialog
- func (d *SecretCreateDialog) SetRect(x, y, width, height int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretCreateDialog ¶
SecretCreateDialog implements secret create dialog.
func NewSecretCreateDialog ¶
func NewSecretCreateDialog() *SecretCreateDialog
NewSecretCreateDialog returns new secret create dialog primitive.
func (*SecretCreateDialog) Display ¶
func (d *SecretCreateDialog) Display()
Display displays this primitive.
func (*SecretCreateDialog) Draw ¶
func (d *SecretCreateDialog) Draw(screen tcell.Screen)
Draw draws this primitive into the screen.
func (*SecretCreateDialog) Focus ¶
func (d *SecretCreateDialog) Focus(delegate func(p tview.Primitive))
Focus is called when this primitive receives focus.
func (*SecretCreateDialog) GetCreateOptions ¶
func (d *SecretCreateDialog) GetCreateOptions() *secrets.SecretCreateOptions
GetCreateOptions returns secret create options.
func (*SecretCreateDialog) HasFocus ¶
func (d *SecretCreateDialog) HasFocus() bool
HasFocus returns whether or not this primitive has focus.
func (*SecretCreateDialog) Hide ¶
func (d *SecretCreateDialog) Hide()
Hide stops displaying this primitive.
func (*SecretCreateDialog) InputHandler ¶
func (d *SecretCreateDialog) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
InputHandler returns input handler function for this primitive.
func (*SecretCreateDialog) IsDisplay ¶
func (d *SecretCreateDialog) IsDisplay() bool
IsDisplay returns true if primitive is shown.
func (*SecretCreateDialog) SetCancelFunc ¶
func (d *SecretCreateDialog) SetCancelFunc(handler func()) *SecretCreateDialog
SetCancelFunc sets form cancel button selected function.
func (*SecretCreateDialog) SetCreateFunc ¶
func (d *SecretCreateDialog) SetCreateFunc(handler func()) *SecretCreateDialog
SetCreateFunc sets form create button selected function.
func (*SecretCreateDialog) SetRect ¶
func (d *SecretCreateDialog) SetRect(x, y, width, height int)
SetRect set rects for this primitive.