Separates the two things that must not be conflated: an immutable resource record, and the mutable channel that maps a logical name onto one. This function walks the channel; everything downstream deals only in records.
Arguments
- name
Resource name.
- package
Declaring package. Ignored when
registryis supplied.- registry
A
registry()object, for standalone use.- policy
Resolution policy, defaulting to
getaca_policy().- version
Optional explicit version, bypassing channel resolution.
Value
A list with id, record, policy, source, digest, created
and auth. policy is the one actually in force, after the argument, the
session setting, the registry default and the check clamp have been
resolved. digest identifies the registry state that answered, and
created says when that state was published, or NA for a declaration
that was built in the session rather than read from a file. auth is the
credential declaration, taken from the registry the package ships.