Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayCheckTrace ¶ added in v0.5.0
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 ¶ added in v0.10.1
type TreePrinter struct {
// contains filtered or unexported fields
}
func NewTreePrinter ¶ added in v0.10.1
func NewTreePrinter() *TreePrinter
func (*TreePrinter) Child ¶ added in v0.10.1
func (tp *TreePrinter) Child(val string) *TreePrinter
func (*TreePrinter) Print ¶ added in v0.10.1
func (tp *TreePrinter) Print()
func (*TreePrinter) PrintIndented ¶ added in v0.15.0
func (tp *TreePrinter) PrintIndented()
func (*TreePrinter) String ¶ added in v0.10.1
func (tp *TreePrinter) String() string
Click to show internal directories.
Click to hide internal directories.