Documentation ¶
Index ¶
- type PodCreateDialog
- func (d *PodCreateDialog) Display()
- func (d *PodCreateDialog) Draw(screen tcell.Screen)
- func (d *PodCreateDialog) Focus(delegate func(p tview.Primitive))
- func (d *PodCreateDialog) GetPodSpec() pods.CreateOptions
- func (d *PodCreateDialog) HasFocus() bool
- func (d *PodCreateDialog) Hide()
- func (d *PodCreateDialog) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
- func (d *PodCreateDialog) IsDisplay() bool
- func (d *PodCreateDialog) SetCancelFunc(handler func()) *PodCreateDialog
- func (d *PodCreateDialog) SetCreateFunc(handler func()) *PodCreateDialog
- func (d *PodCreateDialog) SetRect(x, y, width, height int)
- type PodStatsDialog
- func (d *PodStatsDialog) Display()
- func (d *PodStatsDialog) Draw(screen tcell.Screen)
- func (d *PodStatsDialog) Focus(delegate func(p tview.Primitive))
- func (d *PodStatsDialog) HasFocus() bool
- func (d *PodStatsDialog) Hide()
- func (d *PodStatsDialog) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
- func (d *PodStatsDialog) IsDisplay() bool
- func (d *PodStatsDialog) SetDoneFunc(handler func()) *PodStatsDialog
- func (d *PodStatsDialog) SetPodsOptions(options []PodStatsDropDownOptions)
- func (d *PodStatsDialog) SetRect(x, y, width, height int)
- type PodStatsDropDownOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodCreateDialog ¶
PodCreateDialog implements pod create dialog
func NewPodCreateDialog ¶
func NewPodCreateDialog() *PodCreateDialog
NewPodCreateDialog returns new pod create dialog primitive PodCreateDialog
func (*PodCreateDialog) Display ¶
func (d *PodCreateDialog) Display()
Display displays this primitive
func (*PodCreateDialog) Draw ¶
func (d *PodCreateDialog) Draw(screen tcell.Screen)
Draw draws this primitive onto the screen.
func (*PodCreateDialog) Focus ¶
func (d *PodCreateDialog) Focus(delegate func(p tview.Primitive))
Focus is called when this primitive receives focus
func (*PodCreateDialog) GetPodSpec ¶
func (d *PodCreateDialog) GetPodSpec() pods.CreateOptions
GetPodSpec returns pod create option spec
func (*PodCreateDialog) HasFocus ¶
func (d *PodCreateDialog) HasFocus() bool
HasFocus returns whether or not this primitive has focus
func (*PodCreateDialog) Hide ¶
func (d *PodCreateDialog) Hide()
Hide stops displaying this primitive
func (*PodCreateDialog) InputHandler ¶
func (d *PodCreateDialog) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
InputHandler returns input handler function for this primitive
func (*PodCreateDialog) IsDisplay ¶
func (d *PodCreateDialog) IsDisplay() bool
IsDisplay returns true if primitive is shown
func (*PodCreateDialog) SetCancelFunc ¶
func (d *PodCreateDialog) SetCancelFunc(handler func()) *PodCreateDialog
SetCancelFunc sets form cancel button selected function
func (*PodCreateDialog) SetCreateFunc ¶
func (d *PodCreateDialog) SetCreateFunc(handler func()) *PodCreateDialog
SetCreateFunc sets form create button selected function
func (*PodCreateDialog) SetRect ¶
func (d *PodCreateDialog) SetRect(x, y, width, height int)
SetRect set rects for this primitive.
type PodStatsDialog ¶ added in v0.2.0
PodStatsDialog implements the pods stats dialog primitive
func NewPodStatsDialog ¶ added in v0.2.0
func NewPodStatsDialog() *PodStatsDialog
NewPodStatsDialog returns new pod stats dialog
func (*PodStatsDialog) Display ¶ added in v0.2.0
func (d *PodStatsDialog) Display()
Display displays this primitive
func (*PodStatsDialog) Draw ¶ added in v0.2.0
func (d *PodStatsDialog) Draw(screen tcell.Screen)
Draw draws this primitive onto the screen.
func (*PodStatsDialog) Focus ¶ added in v0.2.0
func (d *PodStatsDialog) Focus(delegate func(p tview.Primitive))
Focus is called when this primitive receives focus
func (*PodStatsDialog) HasFocus ¶ added in v0.2.0
func (d *PodStatsDialog) HasFocus() bool
HasFocus returns whether or not this primitive has focus
func (*PodStatsDialog) Hide ¶ added in v0.2.0
func (d *PodStatsDialog) Hide()
Hide stops displaying this primitive
func (*PodStatsDialog) InputHandler ¶ added in v0.2.0
func (d *PodStatsDialog) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
InputHandler returns input handler function for this primitive
func (*PodStatsDialog) IsDisplay ¶ added in v0.2.0
func (d *PodStatsDialog) IsDisplay() bool
IsDisplay returns true if primitive is shown
func (*PodStatsDialog) SetDoneFunc ¶ added in v0.2.0
func (d *PodStatsDialog) SetDoneFunc(handler func()) *PodStatsDialog
SetDoneFunc sets form cancel button selected function
func (*PodStatsDialog) SetPodsOptions ¶ added in v0.2.0
func (d *PodStatsDialog) SetPodsOptions(options []PodStatsDropDownOptions)
SetPodsOptions sets pod drop down options
func (*PodStatsDialog) SetRect ¶ added in v0.2.0
func (d *PodStatsDialog) SetRect(x, y, width, height int)
SetRect set rects for this primitive.
type PodStatsDropDownOptions ¶ added in v0.2.0
PodStatsDropDownOptions implements pods dropdown options.