Documentation
¶
Index ¶
- func FetchValueFromExpression[K any, T int64 | string](ctx context.Context, tCtx K, key ottl.Key[K]) (*T, error)
- func GetMapValue[K any](ctx context.Context, tCtx K, m pcommon.Map, keys []ottl.Key[K]) (any, error)
- func GetSliceValue[K any](ctx context.Context, tCtx K, s pcommon.Slice, keys []ottl.Key[K]) (any, error)
- func SetIndexableValue[K any](ctx context.Context, tCtx K, currentValue pcommon.Value, val any, ...) error
- func SetMapValue[K any](ctx context.Context, tCtx K, m pcommon.Map, keys []ottl.Key[K], val any) error
- func SetSliceValue[K any](ctx context.Context, tCtx K, s pcommon.Slice, keys []ottl.Key[K], val any) error
- func SetValue(value pcommon.Value, val any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMapValue ¶
func GetSliceValue ¶
func SetIndexableValue ¶
func SetMapValue ¶
func SetSliceValue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.