Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayCheckTrace ¶
func DisplayCheckTrace(checkTrace *v1.CheckDebugTrace, tp *TreePrinter, hasError bool)
DisplayCheckTrace prints out the check trace found in the given debug message.
func PrintTable ¶
PrintTable writes an terminal-friendly table of the values to the target.
func TreeNodeTree ¶
func TreeNodeTree(tp *TreePrinter, treeNode *v1.PermissionRelationshipTree)
TreeNodeTree walks an Authzed Tree Node and creates corresponding nodes for a treeprinter.
Types ¶
type TreePrinter ¶
type TreePrinter struct {
// contains filtered or unexported fields
}
func NewTreePrinter ¶
func NewTreePrinter() *TreePrinter
func (*TreePrinter) Child ¶
func (tp *TreePrinter) Child(val string) *TreePrinter
func (*TreePrinter) Print ¶
func (tp *TreePrinter) Print()
func (*TreePrinter) PrintIndented ¶
func (tp *TreePrinter) PrintIndented()
func (*TreePrinter) String ¶
func (tp *TreePrinter) String() string
Click to show internal directories.
Click to hide internal directories.