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