Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCodeJQBadQuery = "eventmesh.workflow.jq.badCommand" ErrCodeJQNotObject = "eventmesh.workflow.jq.notObject" )
Functions ¶
Types ¶
type JQ ¶
type JQ interface { Object(input interface{}, command interface{}) (map[string]interface{}, error) One(input interface{}, command interface{}) (interface{}, error) }
JQ json query encapsulation
type Option ¶
type Option func(opts *Options)
Option represents the optional function.
func WithWrapBegin ¶
WithWrapBegin config wrap begin option
func WithWrapLeftSeparator ¶
WithWrapLeftSeparator config wrap left separator option
func WithWrapRightSeparator ¶
WithWrapRightSeparator config wrap right separator option
Click to show internal directories.
Click to hide internal directories.