Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MaxExpressionLength is the maximum allowed length for a CEL expression MaxExpressionLength = 1000 // EvaluationTimeout is the maximum time allowed to evaluate a single resource EvaluationTimeout = 100 * time.Millisecond // MaxCacheSize is the maximum number of compiled programs to cache MaxCacheSize = 100 // CacheTTL is the time-to-live for cached programs CacheTTL = 5 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CELFilter ¶
type CELFilter struct {
// contains filtered or unexported fields
}
CELFilter implements ResourceFilter using Common Expression Language
func NewCELFilter ¶
NewCELFilter creates a new CEL-based resource filter
Click to show internal directories.
Click to hide internal directories.