Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterState ¶
type ClusterState struct {
*State
*api.Cluster
Extensions []extension.Extension
Namespaces observer.Property[[]*corev1.Namespace]
SelectedResource observer.Property[*metav1.APIResource]
SearchText observer.Property[string]
SearchFilter observer.Property[SearchFilter]
SelectedObject observer.Property[client.Object]
Objects observer.Property[[]client.Object]
}
type SearchFilter ¶
func NewSearchFilter ¶
func NewSearchFilter(text string) SearchFilter
type State ¶
type State struct {
Preferences observer.Property[api.Preferences]
}
func (*State) NewClusterState ¶
func (s *State) NewClusterState(ctx context.Context, clusterPrefs observer.Property[api.ClusterPreferences]) (*ClusterState, error)
Click to show internal directories.
Click to hide internal directories.