widgets

package
v0.0.0-...-fe6aa1b Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleParagraph

type ExampleParagraph struct {
	*ui.Paragraph
}

func NewExampleParagraph

func NewExampleParagraph() *ExampleParagraph

func (ExampleParagraph) Run

func (ep ExampleParagraph) Run()

func (ExampleParagraph) Stop

func (ep ExampleParagraph) Stop() bool

func (ExampleParagraph) Update

func (ep ExampleParagraph) Update() error

type K8SWidget

type K8SWidget interface {
	Update() error
	Run()
	Stop() bool
}

type KubernetesPods

type KubernetesPods struct {
	*ui.List
	Events observer.Stream
	// contains filtered or unexported fields
}

func NewKubernetesPods

func NewKubernetesPods(pp *p.PodProvider) *KubernetesPods

func (*KubernetesPods) Run

func (kn *KubernetesPods) Run()

func (*KubernetesPods) Stop

func (kn *KubernetesPods) Stop() bool

func (*KubernetesPods) Update

func (kn *KubernetesPods) Update() error

type NodeListWidget

type NodeListWidget struct {
	*ui.List
	Events observer.Stream
	// contains filtered or unexported fields
}

func NewNodeListWidget

func NewNodeListWidget(np *p.NodeProvider) *NodeListWidget

func (*NodeListWidget) Run

func (nlw *NodeListWidget) Run()

func (*NodeListWidget) Stop

func (nlw *NodeListWidget) Stop() bool

func (*NodeListWidget) Update

func (nlw *NodeListWidget) Update() error

type PodsPerNamespaceWidget

type PodsPerNamespaceWidget struct {
	*ui.PieChart
	PodEvents       observer.Stream
	NamespaceEvents observer.Stream
	// contains filtered or unexported fields
}

func NewPodsPerNamespaceWidget

func NewPodsPerNamespaceWidget(pp *p.PodProvider, nsp *p.NamespaceProvider) *PodsPerNamespaceWidget

func (*PodsPerNamespaceWidget) Run

func (w *PodsPerNamespaceWidget) Run()

func (*PodsPerNamespaceWidget) Stop

func (w *PodsPerNamespaceWidget) Stop() bool

func (*PodsPerNamespaceWidget) Update

func (w *PodsPerNamespaceWidget) Update() error

type SummaryWidget

type SummaryWidget struct {
	*ui.Table
	NodeEvents             observer.Stream
	PodEvents              observer.Stream
	DeploymentEvents       observer.Stream
	ServiceEvents          observer.Stream
	PersistentVolumeEvents observer.Stream
	NamespaceEvents        observer.Stream
	// contains filtered or unexported fields
}

func (*SummaryWidget) Run

func (sw *SummaryWidget) Run()

func (*SummaryWidget) Stop

func (sw *SummaryWidget) Stop() bool

func (*SummaryWidget) Update

func (sw *SummaryWidget) Update() error

Jump to

Keyboard shortcuts

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