 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func Bool(text string, data interface{}) (bool, error)
- func Error(name string, err error) error
- func Execute(text string, data interface{}) (string, error)
- func IsFuncError(err error) bool
- func Panic(name string, err error) error
- func RegisterFunc(key string, fn interface{})
- func String(text string, data interface{}) (string, error)
- type FuncError
- type Insight
- type Meta
- type Result
- type Severity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFuncError ¶
func RegisterFunc ¶
func RegisterFunc(key string, fn interface{})
Types ¶
type Insight ¶
type Result ¶
type Result struct {
	Meta `json:",inline" yaml:",inline" hcl:",inline"`
	Insight      *Insight               `json:"insight" yaml:"insight" hcl:"insight"`
	Severity     Severity               `json:"severity" yaml:"severity" hcl:"severity"`
	AnalyzerSpec string                 `json:"analyzerSpec" yaml:"analyzerSpec" hcl:"analyzerSpec"`
	Variables    map[string]interface{} `json:"variables,omitempty" yaml:"variables,omitempty" hcl:"variables,omitempty"`
	Error        string                 `json:"error,omitempty" yaml:"error,omitempty" hcl:"error,omitempty"`
}
    func FromAnalyzerResult ¶
func FromAnalyzerResult(input []*analyze.AnalyzeResult) []*Result
 Click to show internal directories. 
   Click to hide internal directories.