Documentation ¶
Index ¶
- Constants
- func Duration[K any](duration ottl.StringGetter[K]) (ottl.ExprFunc[K], error)
- func FNVHashString[K any](target ottl.StringGetter[K]) (ottl.ExprFunc[K], error)
- func Hours[K any](duration ottl.DurationGetter[K]) (ottl.ExprFunc[K], error)
- func Microseconds[K any](duration ottl.DurationGetter[K]) (ottl.ExprFunc[K], error)
- func Milliseconds[K any](duration ottl.DurationGetter[K]) (ottl.ExprFunc[K], error)
- func Minutes[K any](duration ottl.DurationGetter[K]) (ottl.ExprFunc[K], error)
- func Nanoseconds[K any](duration ottl.DurationGetter[K]) (ottl.ExprFunc[K], error)
- func NewConcatFactory[K any]() ottl.Factory[K]
- func NewConvertCaseFactory[K any]() ottl.Factory[K]
- func NewDeleteKeyFactory[K any]() ottl.Factory[K]
- func NewDeleteMatchingKeysFactory[K any]() ottl.Factory[K]
- func NewDurationFactory[K any]() ottl.Factory[K]
- func NewExtractPatternsFactory[K any]() ottl.Factory[K]
- func NewFnvFactory[K any]() ottl.Factory[K]
- func NewHoursFactory[K any]() ottl.Factory[K]
- func NewIntFactory[K any]() ottl.Factory[K]
- func NewIsMapFactory[K any]() ottl.Factory[K]
- func NewIsMatchFactory[K any]() ottl.Factory[K]
- func NewIsStringFactory[K any]() ottl.Factory[K]
- func NewKeepKeysFactory[K any]() ottl.Factory[K]
- func NewLenFactory[K any]() ottl.Factory[K]
- func NewLimitFactory[K any]() ottl.Factory[K]
- func NewLogFactory[K any]() ottl.Factory[K]
- func NewMergeMapsFactory[K any]() ottl.Factory[K]
- func NewMicrosecondsFactory[K any]() ottl.Factory[K]
- func NewMillisecondsFactory[K any]() ottl.Factory[K]
- func NewMinutesFactory[K any]() ottl.Factory[K]
- func NewNanosecondsFactory[K any]() ottl.Factory[K]
- func NewParseJSONFactory[K any]() ottl.Factory[K]
- func NewReplaceAllMatchesFactory[K any]() ottl.Factory[K]
- func NewReplaceAllPatternsFactory[K any]() ottl.Factory[K]
- func NewReplaceMatchFactory[K any]() ottl.Factory[K]
- func NewReplacePatternFactory[K any]() ottl.Factory[K]
- func NewSHA1Factory[K any]() ottl.Factory[K]
- func NewSHA256Factory[K any]() ottl.Factory[K]
- func NewSecondsFactory[K any]() ottl.Factory[K]
- func NewSetFactory[K any]() ottl.Factory[K]
- func NewSpanIDFactory[K any]() ottl.Factory[K]
- func NewSplitFactory[K any]() ottl.Factory[K]
- func NewSubstringFactory[K any]() ottl.Factory[K]
- func NewTimeFactory[K any]() ottl.Factory[K]
- func NewTraceIDFactory[K any]() ottl.Factory[K]
- func NewTruncateAllFactory[K any]() ottl.Factory[K]
- func NewUUIDFactory[K any]() ottl.Factory[K]
- func NewUnixMicroFactory[K any]() ottl.Factory[K]
- func NewUnixMilliFactory[K any]() ottl.Factory[K]
- func NewUnixNanoFactory[K any]() ottl.Factory[K]
- func NewUnixSecondsFactory[K any]() ottl.Factory[K]
- func SHA1HashString[K any](target ottl.StringGetter[K]) (ottl.ExprFunc[K], error)
- func SHA256HashString[K any](target ottl.StringGetter[K]) (ottl.ExprFunc[K], error)
- func Seconds[K any](duration ottl.DurationGetter[K]) (ottl.ExprFunc[K], error)
- func StandardConverters[K any]() map[string]ottl.Factory[K]
- func StandardFuncs[K any]() map[string]ottl.Factory[K]
- func Time[K any](inputTime ottl.StringGetter[K], format string) (ottl.ExprFunc[K], error)
- func TruncateAll[K any](target ottl.PMapGetter[K], limit int64) (ottl.ExprFunc[K], error)
- func UnixMicro[K any](inputTime ottl.TimeGetter[K]) (ottl.ExprFunc[K], error)
- func UnixMilli[K any](inputTime ottl.TimeGetter[K]) (ottl.ExprFunc[K], error)
- func UnixNano[K any](inputTime ottl.TimeGetter[K]) (ottl.ExprFunc[K], error)
- func UnixSeconds[K any](inputTime ottl.TimeGetter[K]) (ottl.ExprFunc[K], error)
- type ConcatArguments
- type ConvertCaseArguments
- type DeleteKeyArguments
- type DeleteMatchingKeysArguments
- type DurationArguments
- type ExtractPatternsArguments
- type FnvArguments
- type HoursArguments
- type IntArguments
- type IsMapArguments
- type IsMatchArguments
- type IsStringArguments
- type KeepKeysArguments
- type LenArguments
- type LimitArguments
- type LogArguments
- type MergeMapsArguments
- type MicrosecondsArguments
- type MillisecondsArguments
- type MinutesArguments
- type NanosecondsArguments
- type ParseJSONArguments
- type ReplaceAllMatchesArguments
- type ReplaceAllPatternsArguments
- type ReplaceMatchArguments
- type ReplacePatternArguments
- type SHA1Arguments
- type SHA256Arguments
- type SecondsArguments
- type SetArguments
- type SpanIDArguments
- type SplitArguments
- type SubstringArguments
- type TimeArguments
- type TraceIDArguments
- type TruncateAllArguments
- type UnixMicroArguments
- type UnixMilliArguments
- type UnixNanoArguments
- type UnixSecondsArguments
Constants ¶
View Source
const ( INSERT = "insert" UPDATE = "update" UPSERT = "upsert" )
Variables ¶
This section is empty.
Functions ¶
func FNVHashString ¶ added in v0.79.0
func Microseconds ¶ added in v0.84.0
func Milliseconds ¶ added in v0.84.0
func Nanoseconds ¶ added in v0.84.0
func NewConcatFactory ¶ added in v0.77.0
func NewConvertCaseFactory ¶ added in v0.77.0
func NewDeleteKeyFactory ¶ added in v0.77.0
func NewDeleteMatchingKeysFactory ¶ added in v0.77.0
func NewDurationFactory ¶ added in v0.82.0
func NewExtractPatternsFactory ¶ added in v0.84.0
func NewFnvFactory ¶ added in v0.79.0
func NewHoursFactory ¶ added in v0.84.0
func NewIntFactory ¶ added in v0.77.0
func NewIsMapFactory ¶ added in v0.80.0
func NewIsMatchFactory ¶ added in v0.77.0
func NewIsStringFactory ¶ added in v0.80.0
func NewKeepKeysFactory ¶ added in v0.77.0
func NewLenFactory ¶ added in v0.82.0
func NewLimitFactory ¶ added in v0.77.0
func NewLogFactory ¶ added in v0.78.0
func NewMergeMapsFactory ¶ added in v0.77.0
func NewMicrosecondsFactory ¶ added in v0.84.0
func NewMillisecondsFactory ¶ added in v0.84.0
func NewMinutesFactory ¶ added in v0.84.0
func NewNanosecondsFactory ¶ added in v0.84.0
func NewParseJSONFactory ¶ added in v0.77.0
func NewReplaceAllMatchesFactory ¶ added in v0.77.0
func NewReplaceAllPatternsFactory ¶ added in v0.77.0
func NewReplaceMatchFactory ¶ added in v0.77.0
func NewReplacePatternFactory ¶ added in v0.77.0
func NewSHA1Factory ¶ added in v0.79.0
func NewSHA256Factory ¶ added in v0.79.0
func NewSecondsFactory ¶ added in v0.84.0
func NewSetFactory ¶ added in v0.77.0
func NewSpanIDFactory ¶ added in v0.77.0
func NewSplitFactory ¶ added in v0.77.0
func NewSubstringFactory ¶ added in v0.77.0
func NewTimeFactory ¶ added in v0.81.0
func NewTraceIDFactory ¶ added in v0.77.0
func NewTruncateAllFactory ¶ added in v0.77.0
func NewUUIDFactory ¶ added in v0.78.0
func NewUnixMicroFactory ¶ added in v0.85.0
func NewUnixMilliFactory ¶ added in v0.85.0
func NewUnixNanoFactory ¶ added in v0.85.0
func NewUnixSecondsFactory ¶ added in v0.85.0
func SHA1HashString ¶ added in v0.79.0
func SHA256HashString ¶ added in v0.79.0
func StandardConverters ¶ added in v0.80.0
func TruncateAll ¶
func UnixSeconds ¶ added in v0.85.0
Types ¶
type ConcatArguments ¶ added in v0.77.0
type ConcatArguments[K any] struct { Vals []ottl.StringLikeGetter[K] `ottlarg:"0"` Delimiter string `ottlarg:"1"` }
type ConvertCaseArguments ¶ added in v0.77.0
type ConvertCaseArguments[K any] struct { Target ottl.StringGetter[K] `ottlarg:"0"` ToCase string `ottlarg:"1"` }
type DeleteKeyArguments ¶ added in v0.77.0
type DeleteKeyArguments[K any] struct { Target ottl.PMapGetter[K] `ottlarg:"0"` Key string `ottlarg:"1"` }
type DeleteMatchingKeysArguments ¶ added in v0.77.0
type DeleteMatchingKeysArguments[K any] struct { Target ottl.PMapGetter[K] `ottlarg:"0"` Pattern string `ottlarg:"1"` }
type DurationArguments ¶ added in v0.82.0
type DurationArguments[K any] struct { Duration ottl.StringGetter[K] `ottlarg:"0"` }
type ExtractPatternsArguments ¶ added in v0.84.0
type ExtractPatternsArguments[K any] struct { Target ottl.StringGetter[K] `ottlarg:"0"` Pattern string `ottlarg:"1"` }
type FnvArguments ¶ added in v0.79.0
type FnvArguments[K any] struct { Target ottl.StringGetter[K] `ottlarg:"0"` }
type HoursArguments ¶ added in v0.84.0
type HoursArguments[K any] struct { Duration ottl.DurationGetter[K] `ottlarg:"0"` }
type IntArguments ¶ added in v0.77.0
type IntArguments[K any] struct { Target ottl.IntLikeGetter[K] `ottlarg:"0"` }
type IsMapArguments ¶ added in v0.80.0
type IsMapArguments[K any] struct { Target ottl.PMapGetter[K] `ottlarg:"0"` }
type IsMatchArguments ¶ added in v0.77.0
type IsMatchArguments[K any] struct { Target ottl.StringLikeGetter[K] `ottlarg:"0"` Pattern string `ottlarg:"1"` }
type IsStringArguments ¶ added in v0.80.0
type IsStringArguments[K any] struct { Target ottl.StringGetter[K] `ottlarg:"0"` }
type KeepKeysArguments ¶ added in v0.77.0
type KeepKeysArguments[K any] struct { Target ottl.PMapGetter[K] `ottlarg:"0"` Keys []string `ottlarg:"1"` }
type LenArguments ¶ added in v0.82.0
type LimitArguments ¶ added in v0.77.0
type LimitArguments[K any] struct { Target ottl.PMapGetter[K] `ottlarg:"0"` Limit int64 `ottlarg:"1"` PriorityKeys []string `ottlarg:"2"` }
type LogArguments ¶ added in v0.78.0
type LogArguments[K any] struct { Target ottl.FloatLikeGetter[K] `ottlarg:"0"` }
type MergeMapsArguments ¶ added in v0.77.0
type MergeMapsArguments[K any] struct { Target ottl.PMapGetter[K] `ottlarg:"0"` Source ottl.PMapGetter[K] `ottlarg:"1"` Strategy string `ottlarg:"2"` }
type MicrosecondsArguments ¶ added in v0.84.0
type MicrosecondsArguments[K any] struct { Duration ottl.DurationGetter[K] `ottlarg:"0"` }
type MillisecondsArguments ¶ added in v0.84.0
type MillisecondsArguments[K any] struct { Duration ottl.DurationGetter[K] `ottlarg:"0"` }
type MinutesArguments ¶ added in v0.84.0
type MinutesArguments[K any] struct { Duration ottl.DurationGetter[K] `ottlarg:"0"` }
type NanosecondsArguments ¶ added in v0.84.0
type NanosecondsArguments[K any] struct { Duration ottl.DurationGetter[K] `ottlarg:"0"` }
type ParseJSONArguments ¶ added in v0.77.0
type ParseJSONArguments[K any] struct { Target ottl.StringGetter[K] `ottlarg:"0"` }
type ReplaceAllMatchesArguments ¶ added in v0.77.0
type ReplaceAllMatchesArguments[K any] struct { Target ottl.PMapGetter[K] `ottlarg:"0"` Pattern string `ottlarg:"1"` Replacement ottl.StringGetter[K] `ottlarg:"2"` }
type ReplaceAllPatternsArguments ¶ added in v0.77.0
type ReplaceAllPatternsArguments[K any] struct { Target ottl.PMapGetter[K] `ottlarg:"0"` Mode string `ottlarg:"1"` RegexPattern string `ottlarg:"2"` Replacement ottl.StringGetter[K] `ottlarg:"3"` }
type ReplaceMatchArguments ¶ added in v0.77.0
type ReplacePatternArguments ¶ added in v0.77.0
type SHA1Arguments ¶ added in v0.79.0
type SHA1Arguments[K any] struct { Target ottl.StringGetter[K] `ottlarg:"0"` }
type SHA256Arguments ¶ added in v0.79.0
type SHA256Arguments[K any] struct { Target ottl.StringGetter[K] `ottlarg:"0"` }
type SecondsArguments ¶ added in v0.84.0
type SecondsArguments[K any] struct { Duration ottl.DurationGetter[K] `ottlarg:"0"` }
type SetArguments ¶ added in v0.77.0
type SpanIDArguments ¶ added in v0.77.0
type SplitArguments ¶ added in v0.77.0
type SplitArguments[K any] struct { Target ottl.StringGetter[K] `ottlarg:"0"` Delimiter string `ottlarg:"1"` }
type SubstringArguments ¶ added in v0.77.0
type TimeArguments ¶ added in v0.81.0
type TimeArguments[K any] struct { Time ottl.StringGetter[K] `ottlarg:"0"` Format string `ottlarg:"1"` }
type TraceIDArguments ¶ added in v0.77.0
type TruncateAllArguments ¶ added in v0.77.0
type TruncateAllArguments[K any] struct { Target ottl.PMapGetter[K] `ottlarg:"0"` Limit int64 `ottlarg:"1"` }
type UnixMicroArguments ¶ added in v0.85.0
type UnixMicroArguments[K any] struct { Time ottl.TimeGetter[K] `ottlarg:"0"` }
type UnixMilliArguments ¶ added in v0.85.0
type UnixMilliArguments[K any] struct { Time ottl.TimeGetter[K] `ottlarg:"0"` }
type UnixNanoArguments ¶ added in v0.85.0
type UnixNanoArguments[K any] struct { Time ottl.TimeGetter[K] `ottlarg:"0"` }
type UnixSecondsArguments ¶ added in v0.85.0
type UnixSecondsArguments[K any] struct { Time ottl.TimeGetter[K] `ottlarg:"0"` }
Source Files ¶
- func_concat.go
- func_convert_case.go
- func_delete_key.go
- func_delete_matching_keys.go
- func_duration.go
- func_extract_patterns.go
- func_fnv.go
- func_hours.go
- func_int.go
- func_is_map.go
- func_is_match.go
- func_is_string.go
- func_keep_keys.go
- func_len.go
- func_limit.go
- func_log.go
- func_merge_maps.go
- func_microseconds.go
- func_milliseconds.go
- func_minutes.go
- func_nanoseconds.go
- func_parse_json.go
- func_replace_all_matches.go
- func_replace_all_patterns.go
- func_replace_match.go
- func_replace_pattern.go
- func_seconds.go
- func_set.go
- func_sha1.go
- func_sha256.go
- func_span_id.go
- func_split.go
- func_substring.go
- func_time.go
- func_trace_id.go
- func_truncate_all.go
- func_unix_micro.go
- func_unix_milli.go
- func_unix_nano.go
- func_unix_seconds.go
- func_uuid.go
- functions.go
Click to show internal directories.
Click to hide internal directories.