Documentation
¶
Overview ¶
Package value provides host-independent Starlark compilation and read-only values. It does not import the script host, CI, or policy packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ItemErrors ¶
type ItemErrors struct {
// contains filtered or unexported fields
}
ItemErrors records the first failure hit while enumerating a mapping through Items, which cannot return an error itself. EvaluateValue surfaces it once the script returns.
func Globals ¶
func Globals(values ValueMap) (starlark.StringDict, *ItemErrors)
Globals creates fresh read-only context bindings and a deferred conversion error sink.
func (*ItemErrors) Err ¶
func (s *ItemErrors) Err() error
Err reports errors from mapping enumeration, whose Starlark API cannot return errors.
Click to show internal directories.
Click to hide internal directories.