Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Links []*Link `json:"links,omitempty"` Level string `json:"level,omitempty"` Message string `json:"message,omitempty"` LintFile string `json:"lint_file,omitempty"` DataFile string `json:"data_file,omitempty"` // DataFilePaths []string `json:"data_files,omitempty"` TargetID string `json:"target_id,omitempty"` Location any `json:"location,omitempty"` Custom any `json:"custom,omitempty"` }
type JsonnetResult ¶
type JsonnetResult struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Links Links `json:"links,omitempty"` Message string `json:"message,omitempty"` Level string `json:"level,omitempty"` Location any `json:"location,omitempty"` Custom any `json:"custom,omitempty"` Excluded bool `json:"excluded,omitempty"` }
unmarshal Jsonnet as JSON
type Result ¶
type Result struct { TargetID string `json:"target_id,omitempty"` LintFile string `json:"lint_file,omitempty"` DataFile string `json:"data_file,omitempty"` DataFiles []string `json:"data_files,omitempty"` RawResult []*JsonnetResult `json:"-"` RawOutput string `json:"-"` Interface any `json:"result,omitempty"` Error string `json:"error,omitempty"` }
func (*Result) FlatErrors ¶
Click to show internal directories.
Click to hide internal directories.