Versions in this module Expand all Collapse all v0 v0.70.0 Sep 11, 2026 Changes in this version + const MaxDepth + func WithBudget(ctx context.Context, budget *Budget) context.Context + type Budget struct + func ExecutionBudget(exec Execution) *Budget + func NewBudget(ctx context.Context, chargeSteps, reserve func(int) error) *Budget + func UnpackBudget(ctx context.Context) (context.Context, *Budget) + func (b *Budget) Refresh() error + func (b *Budget) Reserve(bytes int) error + func (b *Budget) ReserveMap(count int) error + func (b *Budget) SetSnapshotRefresh(refresh func() error) + func (b *Budget) Work(units int) error + type Cloner struct + func NewCloner(budget *Budget, options Options) *Cloner + func (c *Cloner) Clone(label string, source value.Value) (value.Value, error) + func (c *Cloner) CloneWithOptions(label string, source value.Value, options Options) (value.Value, error) + func (c *Cloner) Hash(label string, source value.Value) (map[string]value.Value, error) + func (c *Cloner) Kwargs(method string, source map[string]value.Value) (map[string]value.Value, error) + func (c *Cloner) KwargsWithOptions(method string, source map[string]value.Value, options Options) (map[string]value.Value, error) + type Execution interface + Context func() context.Context + Step func() error + type Options struct + AllowRuntimeValues bool + PreserveObjectTags bool + type Validator struct + func NewValidator(budget *Budget) *Validator + func (v *Validator) Kwargs(method string, kwargs map[string]value.Value) error + func (v *Validator) Validate(label string, source value.Value) error