voldialogs

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VolumeCreateDialog

type VolumeCreateDialog struct {
	*tview.Box
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL