- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for CEL (0.04 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
// If any schema related validation errors have been found at this level or deeper, skip CEL expression validation. // Invalid OpenAPISchemas are not always possible to convert into valid CEL DeclTypes, and can lead to CEL // validation error messages that are not actionable (will go away once the schema errors are resolved) and that // are difficult for CEL expression authors to understand. if len(allErrs.SchemaErrors) == 0 && celContext != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1/generated.proto
// // The CEL expressions of a policy must have a computed CEL cost below the maximum // CEL budget. Each evaluation of the policy is given an independent CEL cost budget. // Adding/removing policies, bindings, or params can not affect whether a // given (policy, binding, param) combination is within its own CEL budget. message ValidatingAdmissionPolicyBinding {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 51.8K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1/types.go
} // Validation specifies the CEL expression which is used to apply the validation. type Validation struct { // Expression represents the expression which will be evaluated by CEL. // ref: https://github.com/google/cel-spec // CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables: //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 61.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go
See the License for the specific language governing permissions and limitations under the License. */ package cel import ( "fmt" "math" "strings" "testing" celgo "github.com/google/cel-go/cel" "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" apiextensions "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 51.5K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation.go
if celErr, ok := err.(*cel.Error); ok { switch celErr.Type { case cel.ErrorTypeRequired: return field.Required(fldPath, celErr.Detail) case cel.ErrorTypeInvalid: return field.Invalid(fldPath, expression.GetExpression(), celErr.Detail) case cel.ErrorTypeInternal: return field.InternalError(fldPath, celErr) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0) -
pilot/pkg/model/telemetry_logging_test.go
}, expected: []*core.TypedExtensionConfig{ reqWithoutQueryFormatter, metadataFormatter, }, }, { name: "cel", json: &structpb.Struct{ Fields: map[string]*structpb.Value{ "req1": {Kind: &structpb.Value_StringValue{StringValue: "%CEL(request.host)%"}}, }, }, expected: []*core.TypedExtensionConfig{ celFormatter, }, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 54K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.31.md
- CEL default compatibility environment version to updated to 1.30 so that the extended libraries added before 1.30 is available to use. ([#124779](https://github.com/kubernetes/kubernetes/pull/124779), [@cici37](https://github.com/cici37)) [SIG API Machinery]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 20:34:14 UTC 2024 - 60.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go
}, }, postfilter: result{ status: framework.NewStatus(framework.Unschedulable, `still not schedulable`), }, }, }, "class-parameters-CEL-runtime-error": { pod: podWithClaimName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 61.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go
"k8s.io/apimachinery/pkg/util/sets" "k8s.io/apimachinery/pkg/util/validation/field" api "k8s.io/apiserver/pkg/apis/apiserver" authenticationcel "k8s.io/apiserver/pkg/authentication/cel" "k8s.io/apiserver/pkg/cel/environment" "k8s.io/apiserver/pkg/features" utilfeature "k8s.io/apiserver/pkg/util/feature" certutil "k8s.io/client-go/util/cert" featuregatetesting "k8s.io/component-base/featuregate/testing"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 87.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 59.5K bytes - Viewed (0)