Documentation
¶
Overview ¶
Package eval runs agent cases with the scripted model and the real policy path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Drift ¶
func Drift(base, next []CaseExpect) []string
Types ¶
type Case ¶
type Case struct {
Name string `yaml:"name"`
Input string `yaml:"input"`
Expect Expectations `yaml:"expect"`
}
type CaseExpect ¶
type CaseExpect struct {
Name string `json:"name"`
Operation string `json:"operation"`
ConfirmationRequired bool `json:"confirmation_required"`
NoHTTP bool `json:"no_http"`
PackContains []string `json:"pack_contains,omitempty"`
PackExcludes []string `json:"pack_excludes,omitempty"`
Related []string `json:"related,omitempty"`
}
func Expects ¶
func Expects(cases []*Case) []CaseExpect
type Expectations ¶
Click to show internal directories.
Click to hide internal directories.