MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / GetSearchState

Method GetSearchState

internal/ui/models/state.go:101–108  ·  view source on GitHub ↗

GetSearchState returns the search state for a given component.

(component string)

Source from the content-addressed store, hash-verified

99
100// GetSearchState returns the search state for a given component.
101func (s *State) GetSearchState(component string) *SearchState {
102 state, exists := s.SearchStates[component]
103 if !exists {
104 return nil
105 }
106
107 return state
108}
109
110// FilterNodes filters the nodes based on the given search string.
111func FilterNodes(filter string) {

Callers 12

doManualRefreshMethod · 0.80
doFastRefreshMethod · 0.80
doEnrichNodesMethod · 0.80
loadTasksDataMethod · 0.80
doRefreshVMDataMethod · 0.80
autoRefreshDataMethod · 0.80
restoreSearchUIMethod · 0.80
NewAppFunction · 0.80
FilterVMsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected