Documentation ¶
Index ¶
Constants ¶
View Source
const ( KindBexpr = "bexpr" KindQuamina = "quamina" )
Variables ¶
View Source
var (
ErrInvalidFilter = errors.New("invalid filter")
)
Functions ¶
This section is empty.
Types ¶
type BexprFilter ¶
type BexprFilter struct { Expression string `hcl:"expression"` // contains filtered or unexported fields }
func (*BexprFilter) Setup ¶
func (b *BexprFilter) Setup() error
type Filter ¶
type Filter struct { ID string Broker pubsub.Broker Subscriber pubsub.Subscriber Kind string Subscriptions []string BufferSize int // contains filtered or unexported fields }
type FilterProcessor ¶
type FilterProcessor interface { Process(context.Context, *optimusv1.LogEvent) (*optimusv1.LogEvent, error) Setup() error }
func HclImpl ¶
func HclImpl(kind string, ctx *hcl.EvalContext, body hcl.Body) (FilterProcessor, hcl.Diagnostics)
type QuaminaFilter ¶
type QuaminaFilter struct { Patterns map[string]string `hcl:"patterns"` // contains filtered or unexported fields }
func (*QuaminaFilter) Setup ¶
func (q *QuaminaFilter) Setup() error
Click to show internal directories.
Click to hide internal directories.