Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrettyString ¶
GetPrettyString returns a string without dashes
Types ¶
type Builder ¶
type Builder struct { Client dynamic.Interface Namespace string Kind string Name string Out io.Writer DotGraph bool ObjData }
Builder holds the information to build the graph
type Filter ¶
type Filter struct{}
Filter holds the functions to filter the related objects
func (*Filter) FilterObj ¶
func (f *Filter) FilterObj(obj unstructured.Unstructured, relatedObj unstructured.Unstructured) bool
FilterObj filters the related objects based on the obj and related obj kind
type ObjData ¶
type ObjData struct { Obj unstructured.Unstructured Hierarchy string RelatedObjsData []ObjData }
ObjData holds the object and related objects data
type Printer ¶
Printer holds the object data and graph type to print
func NewPrinter ¶
NewPrinter returns a new Printer struct
Click to show internal directories.
Click to hide internal directories.