parsley

package
v0.0.0-...-546e6a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateFilters

func ValidateFilters(filters []Filter) error

ValidateFilters checks that there are no duplicate filters. It also validates each individual filter.

Types

type Filter

type Filter struct {
	Description   string `bson:"description,omitempty" json:"description,omitempty"`
	Expression    string `bson:"expression" json:"expression"`
	CaseSensitive bool   `bson:"case_sensitive" json:"case_sensitive"`
	ExactMatch    bool   `bson:"exact_match" json:"exact_match"`
}

Filter represents a filter for the Parsley log viewer. Parsley filters can be defined at the project-level and at the user-level.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址