logconfig

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YamlPanelName        = "LogConfigYaml"
	SelectedPodPanelName = "LogConfigSelectedPods"
	EventsPanelName      = "LogConfigEventsPanel"
)
View Source
const ListPanelName = "LogConfigList"
View Source
const PanelName = "LogConfig"

Variables

This section is empty.

Functions

This section is empty.

Types

type EventsPanel

type EventsPanel struct {
	*tview.TextView
	// contains filtered or unexported fields
}

func (*EventsPanel) Focus

func (l *EventsPanel) Focus()

func (*EventsPanel) Name

func (l *EventsPanel) Name() string

func (*EventsPanel) SetData

func (l *EventsPanel) SetData()

func (*EventsPanel) SetFilterWord

func (l *EventsPanel) SetFilterWord(word string)

func (*EventsPanel) SetKeybinding

func (l *EventsPanel) SetKeybinding(g *gui.Gui)

func (*EventsPanel) UnFocus

func (l *EventsPanel) UnFocus()

func (*EventsPanel) UpdateData

func (l *EventsPanel) UpdateData(g *gui.Gui)

type ListPanel

type ListPanel struct {
	*tview.Table
	// contains filtered or unexported fields
}

func NewLogConfigListPanel

func NewLogConfigListPanel(g *gui.Gui, state []State) *ListPanel

func (*ListPanel) Focus

func (l *ListPanel) Focus()

func (*ListPanel) Name

func (l *ListPanel) Name() string

func (*ListPanel) SetData

func (l *ListPanel) SetData()

func (*ListPanel) SetFilterWord

func (l *ListPanel) SetFilterWord(word string)

func (*ListPanel) SetKeybinding

func (l *ListPanel) SetKeybinding(g *gui.Gui)

func (*ListPanel) UnFocus

func (l *ListPanel) UnFocus()

func (*ListPanel) UpdateData

func (l *ListPanel) UpdateData(g *gui.Gui)

type Panel

type Panel struct {
	*tview.Table
	// contains filtered or unexported fields
}

func NewLogConfigPanel

func NewLogConfigPanel(g *gui.Gui) *Panel

func (*Panel) Focus

func (l *Panel) Focus()

func (*Panel) Name

func (l *Panel) Name() string

func (*Panel) SetData

func (l *Panel) SetData()

func (*Panel) SetFilterWord

func (l *Panel) SetFilterWord(word string)

func (*Panel) SetKeybinding

func (l *Panel) SetKeybinding(g *gui.Gui)

func (*Panel) UnFocus

func (l *Panel) UnFocus()

func (*Panel) UpdateData

func (l *Panel) UpdateData(g *gui.Gui)

type PodSelectorPanel

type PodSelectorPanel struct {
	*tview.Table
	// contains filtered or unexported fields
}

func (*PodSelectorPanel) Focus

func (l *PodSelectorPanel) Focus()

func (*PodSelectorPanel) Name

func (l *PodSelectorPanel) Name() string

func (*PodSelectorPanel) SetData

func (l *PodSelectorPanel) SetData()

func (*PodSelectorPanel) SetFilterWord

func (l *PodSelectorPanel) SetFilterWord(word string)

func (*PodSelectorPanel) SetKeybinding

func (l *PodSelectorPanel) SetKeybinding(g *gui.Gui)

func (*PodSelectorPanel) UnFocus

func (l *PodSelectorPanel) UnFocus()

func (*PodSelectorPanel) UpdateData

func (l *PodSelectorPanel) UpdateData(g *gui.Gui)

type PodSelectorStates

type PodSelectorStates struct {
	PodName         string
	PodStatus       string
	LoggiePodName   string
	LoggieNamespace string
	LoggiePodIP     string
	LoggiePodStatus string
	Node            string
}

type State

type State struct {
	Name           string
	Namespace      string
	PodSelectorMap map[string]string
	PodSelector    string
	Cluster        string
	Created        metav1.Time
}

type YamlPanel

type YamlPanel struct {
	*tview.TextView
	// contains filtered or unexported fields
}

func (*YamlPanel) Focus

func (p *YamlPanel) Focus()

func (*YamlPanel) Name

func (p *YamlPanel) Name() string

func (*YamlPanel) SetData

func (p *YamlPanel) SetData()

func (*YamlPanel) SetFilterWord

func (p *YamlPanel) SetFilterWord(word string)

func (*YamlPanel) SetKeybinding

func (p *YamlPanel) SetKeybinding(g *gui.Gui)

func (*YamlPanel) UnFocus

func (p *YamlPanel) UnFocus()

func (*YamlPanel) UpdateData

func (p *YamlPanel) UpdateData(g *gui.Gui)

Jump to

Keyboard shortcuts

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