Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package presentation prints results of an expression evaluation in json and tabular formats.
Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var DefaultProfileSortOrder = []string{"total_time_ns", "num_eval", "num_redo", "file", "line"}
    DefaultProfileSortOrder is the default ordering unless something is specified in the CLI
Functions ¶
Types ¶
type DepAnalysisOutput ¶
type DepAnalysisOutput struct {
	Base    []ast.Ref `json:"base,omitempty"`
	Virtual []ast.Ref `json:"virtual,omitempty"`
}
    DepAnalysisOutput contains the result of dependency analysis to be presented.
type Output ¶
type Output struct {
	Error       error                `json:"error,omitempty"`
	Result      rego.ResultSet       `json:"result,omitempty"`
	Partial     *rego.PartialQueries `json:"partial,omitempty"`
	Metrics     metrics.Metrics      `json:"metrics,omitempty"`
	Explanation []*topdown.Event     `json:"explanation,omitempty"`
	Profile     []profiler.ExprStats `json:"profile,omitempty"`
	Coverage    *cover.Report        `json:"coverage,omitempty"`
	// contains filtered or unexported fields
}
    Output contains the result of evaluation to be presented.
 Click to show internal directories. 
   Click to hide internal directories.