ui

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBaseExecIconButton added in v0.0.5

func CreateBaseExecIconButton(buttonName string, iconTheme fyne.Resource) []*widget.Button

func CreateBaseTabContainers

func CreateBaseTabContainers(podLabelsLabel *widget.Label, podLabelsScroll *container.Scroll, podAnnotationsLabel *widget.Label, podAnnotationsScroll *container.Scroll,
	podEventsLabel *widget.Label, podEventsScroll *container.Scroll, podLogsLabel *widget.Label, podLogScroll *container.Scroll, podDetailLabel *widget.Label, podDetailScroll *container.Scroll,
	podVolumesLabel *widget.Label, podVolumesScroll *container.Scroll) (*container.AppTabs, *container.AppTabs)

func CreateBaseWidgets

func CreateBaseWidgets() (*widget.Label, *widget.Entry, *widget.Label)

func CreateIconButton added in v0.0.5

func CreateIconButton(buttonName string, iconTheme fyne.Resource) *widget.Button

func CreateWindows

func CreateWindows(currentContext string) (*canvas.Text, *fyne.Container, *fyne.Container, *widget.Label)

func GetListData

func GetListData(podData *[]string) (binding.ExternalStringList, *widget.List)

func GetPodTabData

func GetPodTabData(widgetLabelName string) (widgetNameLabel *widget.Label, widgetName *widget.Label, widgetNameScroll *container.Scroll)

func InputOnSubmitted

func InputOnSubmitted(input *widget.Entry, clientset kubernetes.Clientset, namespaceListDropdown *widget.Select) []string

func ListOnSelected

func ListOnSelected(list *widget.List, data binding.ExternalStringList, clientset kubernetes.Clientset, config rest.Config, title, podStatus,
	podLabels, podAnnotations, podEvents, podVolumes, podLog *widget.Label, podDetailLog *widget.Label, podTabs *container.AppTabs, podLogTabs *container.AppTabs,
	podLogScroll *container.Scroll, podLogsLabel *widget.Label, app fyne.App, yb *widget.Button, execButtons []*widget.Button, namespaceListDropdown *widget.Select)

func RefreshData added in v0.0.5

func RefreshData(input *widget.Entry, data binding.ExternalStringList, list *widget.List, podTabs *container.AppTabs,
	podLogTabs *container.AppTabs, podLogsLabel *widget.Label, podStatus *widget.Label, rightWindowTitle *widget.Label)

func SetupErrorUI

func SetupErrorUI(stringErrorResponse string, namespaceListDropdown *widget.Select,
	input *widget.Entry, app fyne.App)

func UpdateInput added in v0.0.5

func UpdateInput(input *widget.Entry, data binding.ExternalStringList, list *widget.List)

Types

This section is empty.

Jump to

Keyboard shortcuts

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