MCPcopy Create free account
hub / github.com/cel-expr/cel-go / k8sParserOpts

Function k8sParserOpts

tools/celtest/test_runner_test.go:100–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func k8sParserOpts() policy.ParserOption {
101 return func(p *policy.Parser) (*policy.Parser, error) {
102 p.TagVisitor = policy.K8sTestTagHandler()
103 return p, nil
104 }
105}
106
107// TestTriggerTestsWithRunnerOptions tests the TriggerTestsFromCompiler function for a custom policy
108// by providing test runner and compiler options without setting the flag variables.

Callers 3

TestCoverageStatsFunction · 0.70
setupTestsFunction · 0.70

Calls 1

K8sTestTagHandlerFunction · 0.92

Tested by

no test coverage detected