result

package
v0.0.10-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RESULT_PROGRESS_BAR_INIT_FREQ     = 120.0
	RESULT_PROGRESS_BAR_CRITICAL_DAMP = 1.0
	RESULT_WIDTH_RATIO                = table.TABLE_WIDTH_RATIO
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel(objs []*unstructured.Unstructured) *Model

func (*Model) Blur

func (m *Model) Blur()

func (*Model) Focus

func (m *Model) Focus() tea.Cmd

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Update

func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Model) View

func (m *Model) View() string

type SetResultMsg

type SetResultMsg struct {
	Nodes      []*kube.Node
	Objs       []*unstructured.Unstructured
	Picked     bool
	PickedNode *kube.Node
}

type SetTableCandidateMsg

type SetTableCandidateMsg struct {
	Candidate *kube.Node
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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