Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewParser ¶
func NewParser(functions map[string]interface{}, telemetrySettings component.TelemetrySettings, options ...Option) ottl.Parser[TransformContext]
Types ¶
type Option ¶ added in v0.70.0
type Option func(*ottl.Parser[TransformContext])
type TransformContext ¶
type TransformContext struct {
// contains filtered or unexported fields
}
func NewTransformContext ¶
func NewTransformContext(resource pcommon.Resource) TransformContext
func (TransformContext) GetResource ¶
func (tCtx TransformContext) GetResource() pcommon.Resource
Click to show internal directories.
Click to hide internal directories.