Documentation
¶
Overview ¶
Package generation compiles resolved model defaults into a fill-only Agent request policy. Explicit per-call request fields always win.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("coding generation: invalid request defaults")
ErrInvalid means resolved defaults cannot be represented by the target protocol.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
Policy applies immutable fill-only defaults to a request.
func Compile ¶
func Compile(model modelcatalog.ResolvedModel) (Policy, error)
Compile validates and compiles one resolved snapshot. It performs no I/O.
Click to show internal directories.
Click to hide internal directories.