Documentation
¶
Overview ¶
Package filter provides the log filter implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
Name string `json:"name"`
Substring *string `json:"substring,omitempty"`
Regex *string `json:"regex,omitempty"`
// OwnerReferences is a list of component names that watches on this filter.
// Useful when multiple components watch on the same log file.
// e.g., if the component X and Y both watch on the same log file,
// with the same filter rule (substring/regex), this field will be
// set to [x, y].
OwnerReferences []string `json:"owner_references,omitempty"`
// contains filtered or unexported fields
}
func ParseFilterJSON ¶
func ParseFilterYAML ¶
Click to show internal directories.
Click to hide internal directories.