Documentation
¶
Overview ¶
Package resourceconformance is verification-only data and finite oracles. It is internal to the SDK repository, is not registered by a product, and has no SDK transport dependency. Its types describe this corpus, not future APIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckChanges ¶
CheckChanges preserves finite delivery order without interpreting revisions. The deliberate event:z9 -> event:a1 transition forbids lexical recency tests.
func CheckPages ¶
CheckPages checks native source-page traversal, not final query pagination.
func SameAddress ¶
SameAddress is only a test oracle, not a canonical encoder or host identity implementation. Access routes, bodies, incarnation and revisions are excluded.
Types ¶
type Corpus ¶
type Corpus struct {
Records []Record
Scenarios []Scenario
IdentityCases []IdentityCase
Links []Link
}
func NativeCorpus ¶
func NativeCorpus() Corpus
NativeCorpus returns fresh, deterministic, credential-free data on each call. IDs and cursors deliberately contain delimiter, slash, percent and Unicode characters. Native numeric JSON remains unparsed; no float64 conversion.
func (Corpus) CheckLinks ¶
func (c Corpus) CheckLinks(bodies map[string]json.RawMessage) error
CheckLinks resolves only the six hand-authored native hypervisor edges. It is not a graph engine or proposed relationship DTO. Bodies can come from a real transport; identical node-local numeric IDs on another node never resolve.
func (Corpus) CheckSnapshot ¶
func (c Corpus) CheckSnapshot(s Scenario, got []Observation, coverage Coverage, freshness string) error
CheckSnapshot compares a finite scenario, not query-language semantics. A consumer supplies observations and its declared guarantees independently.
type IdentityCase ¶
type Observation ¶
type Observation struct {
Record Record
Body json.RawMessage
}
type Scenario ¶
type Scenario struct {
Name string
Profile string
Type string
Selection map[string][]string // explicit finite selected native scope values
Schema json.RawMessage // nil means not provided
Pages []Page
Coverage Coverage
Freshness string
Updates []Change
Operations map[string]string // finite fixture expectations, not SDK capabilities
}