Documentation
¶
Index ¶
Constants ¶
View Source
const DummyKey = "BamBoozle"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockData ¶
type BlockData struct {
// Data contains the data of the block.
// For blockType package output we can have multiple key entries, so we store them using a key in the map
// For all other blockTypes we use a dummy key
Data map[string][]any
}
BlockData contains the data of a block -> can be pre-processed or post-processed
func NewBlockData ¶
func NewBlockData() *BlockData
type DataStore ¶
func (*DataStore) UpdateData ¶
func (r *DataStore) UpdateData(ctx context.Context, blockName string, data any, localVars map[string]any) error
Updates the results in the store; for loop vars it uses the index of the loop var to store the result since we store the results of a given blockName in a slice []any
Click to show internal directories.
Click to hide internal directories.