- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for setExpression (0.19 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/cel/compile.go
if err != nil { return resultError(fmt.Sprintf("unexpected error loading CEL environment: %v", err), apiservercel.ErrorTypeInternal) } ast, issues := env.Compile(expressionAccessor.GetExpression()) if issues != nil { return resultError("compilation failed: "+issues.String(), apiservercel.ErrorTypeInvalid) } found := false returnTypes := expressionAccessor.ReturnTypes()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 5.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java
return parameters; } private static void decomposeParameterIntoUserInstructions( MojoDescriptor mojo, Parameter param, StringBuilder messageBuffer) { String expression = param.getExpression(); if (param.isEditable()) { boolean isArray = param.getType().endsWith("[]"); boolean isCollection = false; boolean isMap = false; boolean isProperties = false;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 09 23:46:02 UTC 2023 - 6.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/interface.go
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apiserver/pkg/admission" "k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/apiserver/pkg/cel/environment" ) type ExpressionAccessor interface { GetExpression() string ReturnTypes() []*cel.Type } // NamedExpressionAccessor extends NamedExpressionAccessor with a name. type NamedExpressionAccessor interface { ExpressionAccessor
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 3.9K bytes - Viewed (0) -
maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java
assertFalse(mp.isRequired()); assertEquals("parameter-description", mp.getDescription()); assertEquals("deprecated-parameter", mp.getDeprecated()); assertEquals("${jar.finalName}", mp.getExpression()); assertEquals("${project.build.finalName}", mp.getDefaultValue()); assertEquals("3.0.0", mp.getSince()); ComponentRequirement cr = md.getRequirements().get(0);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Nov 17 15:51:47 UTC 2023 - 5.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/plugin/use/internal/PluginUseScriptBlockMetadataCompiler.java
restrict(call); } } @Override public void visitExpressionStatement(ExpressionStatement statement) { statement.getExpression().visit(this); } }); } /** * Checks if this method has a single argument that is either: * a) A constant String expression
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 28 01:30:32 UTC 2023 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go
celconfig "k8s.io/apiserver/pkg/apis/cel" "k8s.io/apiserver/pkg/cel/environment" ) type testVariable struct { name string expression string } func (t *testVariable) GetExpression() string { return t.expression } func (t *testVariable) ReturnTypes() []*cel.Type { return []*cel.Type{cel.AnyType} } func (t *testVariable) GetName() string { return t.name }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher.go
) var _ celplugin.ExpressionAccessor = &MatchCondition{} // MatchCondition contains the inputs needed to compile, evaluate and match a cel expression type MatchCondition v1.MatchCondition func (v *MatchCondition) GetExpression() string { return v.Expression } func (v *MatchCondition) ReturnTypes() []*cel.Type { return []*cel.Type{cel.BoolType} } var _ Matcher = &matcher{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 24 14:46:11 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java
statement.visit(this); } } @Override public void visitExpressionStatement(ExpressionStatement statement) { statement.getExpression().visit(this); } @Override public void visitMethodCallExpression(MethodCallExpression call) { ClosureExpression closureExpression = AstUtils.getSingleClosureArg(call);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/compile.go
if err != nil { return resultError(fmt.Sprintf("unexpected error loading CEL environment: %v", err), apiservercel.ErrorTypeInternal) } ast, issues := env.Compile(expressionAccessor.GetExpression()) if issues != nil { return resultError("compilation failed: "+issues.String(), apiservercel.ErrorTypeInvalid) } found := false returnTypes := expressionAccessor.ReturnTypes()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 02 20:56:52 UTC 2023 - 7.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go
} else { typeCheckingResult.Err = err } results = append(results, typeCheckingResult) } } return results } type celExpression string func (c celExpression) GetExpression() string { return string(c) } func (c celExpression) ReturnTypes() []*cel.Type { return []*cel.Type{cel.AnyType} } func generateUniqueTypeName(kind string) string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 15.3K bytes - Viewed (0)