- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 227 for CEL (0.02 sec)
-
staging/src/k8s.io/api/admissionregistration/v1alpha1/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 Oct 05 20:06:13 UTC 2023 - 33.8K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1alpha1/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 Mar 28 15:34:11 UTC 2024 - 29.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go
// // CEL expressions have access to the contents of the token claims, organized into CEL variable: // - 'claims' is a map of claim names to claim values. // For example, a variable named 'sub' can be accessed as 'claims.sub'. // Nested claims can be accessed using dot notation, e.g. 'claims.foo.bar'. // // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 26.6K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto
} // Validation specifies the CEL expression which is used to apply the validation. message Validation { // 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: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 25.7K bytes - Viewed (0) -
pkg/config/crd/validator.go
if err != nil { return nil, err } v.byGvk[gvk] = schemaValidator v.structural[gvk] = structural // CEL programs are compiled and cached here if celv := cel.NewValidator(structural, true, celconfig.PerCallLimit); celv != nil { v.cel[gvk] = celv } } } return v, nil } func NewIstioValidator(t test.Failer) *Validator {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 17 15:38:40 UTC 2023 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/validation.go
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/validation/field" celconfig "k8s.io/apiserver/pkg/apis/cel" utilfeature "k8s.io/apiserver/pkg/util/feature" ) // ValidateDefaults checks that default values validate and are properly pruned. // context is passed for supporting context cancellation during cel validation
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 22:34:13 UTC 2023 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/common/interface.go
See the License for the specific language governing permissions and limitations under the License. */ package common import ( "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" ) // TypeResolver resolves a type by a given name. type TypeResolver interface { // Resolve resolves the type by its name, starting with "Object" as its root.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 00:01:35 UTC 2024 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go
var celValidator *cel.Validator if utilfeature.DefaultFeatureGate.Enabled(features.CustomResourceValidationExpressions) { celValidator = cel.NewValidator(structuralSchema, true, celconfig.PerCallLimit) // CEL programs are compiled and cached here } strategy := customResourceStrategy{ ObjectTyper: typer,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 21:22:34 UTC 2024 - 14.9K bytes - Viewed (0) -
pkg/apis/resource/namedresources.go
Strings []string } // NamedResourcesRequest is used in ResourceRequestModel. type NamedResourcesRequest struct { // Selector is a CEL expression which must evaluate to true if a // resource instance is suitable. The language is as defined in // https://kubernetes.io/docs/reference/using-api/cel/ // // In addition, for each type NamedResourcesin AttributeValue there is a map that
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 12:18:45 UTC 2024 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/library_compatibility_test.go
limitations under the License. */ package library import ( "testing" "github.com/google/cel-go/cel" "k8s.io/apimachinery/pkg/util/sets" ) func TestLibraryCompatibility(t *testing.T) { var libs []map[string][]cel.FunctionOpt libs = append(libs, authzLibraryDecls, listsLibraryDecls, regexLibraryDecls, urlLibraryDecls, quantityLibraryDecls, ipLibraryDecls, cidrLibraryDecls)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:04 UTC 2023 - 2.6K bytes - Viewed (0)