deferred

package
v1.235.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package deferred binds deferred evaluation to stack configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheFor

CacheFor returns an invocation-local cache for the target's raw configuration, including inherited auth. Callers must resolve authentication before loading values. Unsupported configuration values safely disable caching without affecting evaluation.

func StoreValue added in v1.232.0

func StoreValue(ac *schema.AtmosConfiguration, key string, lookup func() (any, error)) (any, error)

StoreValue memoizes successful template store reads for one invocation. In-flight reads of the same key share a result, while nil values and errors remain retryable.

func TargetSection

func TargetSection(ac *schema.AtmosConfiguration, component, stack string, describe func() (map[string]any, error)) (map[string]any, error)

TargetSection returns the unevaluated target configuration for deferred authentication. Only raw describes (component templates and YAML functions disabled) may be supplied. Each caller receives its own copy before inherited authentication is applied. Stack locals can still recurse during loading, so misses must not wait on other in-flight describes: the existing lookup cycle detector owns recursion.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL