Documentation
¶
Index ¶
Constants ¶
View Source
const ( SCHEMA_CURSOR_TOP = 0 SCHEMA_SCROLL_STEP = 1 SCHEMA_WIDTH_RATIO = 0.3 SCHEMA_HEIGHT_BOTTOM_MARGIN = 4 // (topbar 1 + border top, down 2) + root status bar 1 SCHEMA_EXPAND_MULTI_MARGIN = 3 // render above 3 lines when cursor moved by fold/expand a lot )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Line ¶
type Line struct {
// contains filtered or unexported fields
}
TODO: function args node(s) under ui should be line and get the node from getter
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func NewModel ¶
func NewModel(gvk schema.GroupVersionKind, objs []*unstructured.Unstructured) *Model
type SetGVKMsg ¶
type SetGVKMsg struct { GVK schema.GroupVersionKind Objs []*unstructured.Unstructured }
type SetNodesMsg ¶
type UpdateObjsMsg ¶
type UpdateObjsMsg struct {
Objs []*unstructured.Unstructured
}
Click to show internal directories.
Click to hide internal directories.