Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Explainer ¶
type Explainer struct {
// contains filtered or unexported fields
}
func NewExplainer ¶
func NewExplainer(gvr schema.GroupVersionResource, openAPIClient openapiclient.Client) *Explainer
type ResourceFieldsNode ¶
type ResourceFieldsNode struct {
Name string
Children map[string]*ResourceFieldsNode
Path string
}
ResourceFieldsNode used for construct a tree-structure from 'sts.metadata.name' paths
func NewResourceFieldsNode ¶
func NewResourceFieldsNode() *ResourceFieldsNode
func (*ResourceFieldsNode) AddPath ¶
func (node *ResourceFieldsNode) AddPath(path string)
type TreeData ¶
type TreeData struct {
// contains filtered or unexported fields
}
TreeData is used for store custom properties in *tview.TreeNode references
func (*TreeData) IsNodeType ¶
func (d *TreeData) IsNodeType(nodeTypes ...TreeDataNodeType) bool
type TreeDataNodeType ¶
type TreeDataNodeType string
type TreeLinks ¶
func NewTreeLinks ¶
func NewTreeLinks() *TreeLinks
type UIData ¶
type UIData struct {
DiscoveryClient discovery.CachedDiscoveryInterface
RestMapper meta.RESTMapper
OpenAPISchema openapi.Resources
OpenAPIClient openapiclient.Client
}
Click to show internal directories.
Click to hide internal directories.