Documentation
¶
Overview ¶
Package flowcoverage binds accepted variation inventories to retained /3 observations.
Index ¶
- Constants
- func Encode(v any) ([]byte, error)
- type Citation
- type Citations
- type Denominator
- type Entry
- type ExactTest
- type IntentDirectory
- type Inventory
- type Mapping
- type Observation
- type Options
- type Page
- type Ref
- type Report
- type Result
- type Row
- type Run
- type Runs
- type Skeleton
- type Test
- type Variation
Constants ¶
View Source
const DenominatorSchema = "application-flow-coverage-denominator/1"
View Source
const MaxPageBytes = 300 << 10
View Source
const MaxReportBytes = 64 << 20
View Source
const MaxRows = 8192
View Source
const ReportSchema = "application-flow-coverage/1"
View Source
const RunsSchema = "application-flow-coverage-runs/1"
View Source
const WritebackSchema = "application-flow-coverage-writeback/1"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Denominator ¶
type Denominator struct {
Schema string `json:"schema"`
Source doccorpus.Repository `json:"source"`
Intents IntentDirectory `json:"intents"`
Inventory Inventory `json:"documented_inventory"`
Flows []Mapping `json:"flows"`
Variations []Variation `json:"variations"`
}
type Entry ¶
type Entry struct {
Locator appflows.NavLocator `json:"locator"`
Acceptance doccorpus.Anchor `json:"acceptance"`
}
type IntentDirectory ¶
type Observation ¶
type Observation struct {
HistoryGroup string `json:"history_group"`
Historical bool `json:"historical"`
BindingGroup string `json:"binding_group"`
Receipt string `json:"receipt_sha256"`
Kind string `json:"kind"`
Test ExactTest `json:"test"`
State string `json:"state"`
Attempts int `json:"attempts"`
ConfiguredRetries []int `json:"configured_retries"`
Qualified bool `json:"qualified"`
Reasons []string `json:"reasons"`
SourceRevision string `json:"source_revision"`
}
type Page ¶
type Page struct {
Schema string `json:"schema"`
Revision string `json:"revision"`
ReportSHA256 string `json:"report_sha256"`
Passed bool `json:"passed"`
Gaps int `json:"gaps"`
Total int `json:"total"`
Offset int `json:"offset"`
Next *int `json:"next_offset"`
Rows []Row `json:"rows"`
Limitations []string `json:"limitations"`
}
type Row ¶
type Row struct {
DocumentedID string `json:"documented_id"`
FlowID string `json:"intent_flow_id"`
VariationID string `json:"variation_id"`
Status string `json:"status"`
Actor string `json:"actor"`
Preconditions []string `json:"preconditions"`
Entry *appflows.NavLocator `json:"entry"`
Actions []appflows.FlowStep `json:"actions"`
Facts []string `json:"observable_facts"`
Outcomes []appflows.FlowOutcome `json:"outcomes"`
Citations Citations `json:"citations"`
Tests []Test `json:"tests"`
Observations []Observation `json:"observations"`
Reasons []string `json:"reasons"`
LastVerifiedRevision string `json:"last_verified_revision"`
Skeleton *Skeleton `json:"skeleton,omitempty"`
}
type Run ¶
type Run struct {
Ref
Kind string `json:"kind"`
SourceRevision string `json:"source_revision"`
TestRevision string `json:"test_revision"`
Paths map[string]string `json:"paths"`
PackagePaths []string `json:"package_paths"`
BuildScope string `json:"build_scope"`
ApplicationIdentity string `json:"application_identity"`
Environment map[string]string `json:"environment"`
}
type Skeleton ¶
type Skeleton struct {
Entry *appflows.NavLocator `json:"entry"`
Outcomes []appflows.FlowOutcome `json:"outcomes"`
Fixtures []doccorpus.Anchor `json:"fixtures"`
PageObjects []doccorpus.Anchor `json:"page_objects"`
Unknown []string `json:"unknown"`
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Package testfixture supplies a real committed, uncovered denominator for adapter parity tests.
|
Package testfixture supplies a real committed, uncovered denominator for adapter parity tests. |
Click to show internal directories.
Click to hide internal directories.