Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractStringFromMetadata ¶
ExtractStringFromMetadata returns the string value from the result metadata at the given key.
Types ¶
type Evaluator ¶
type Evaluator interface { Evaluate(ctx context.Context, inputs []string) ([]Outcome, Data, error) // Destroy performs any cleanup needed Destroy() // CapabilitiesPath returns the path to the file where capabilities are defined CapabilitiesPath() string }
type Outcome ¶
type Outcome struct { FileName string `json:"filename"` Namespace string `json:"namespace"` Successes []Result `json:"successes,omitempty"` Skipped []Result `json:"skipped,omitempty"` Warnings []Result `json:"warnings,omitempty"` Failures []Result `json:"failures,omitempty"` Exceptions []Result `json:"exceptions,omitempty"` }
Click to show internal directories.
Click to hide internal directories.