- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 227 for CEL (0.05 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values.go
limitations under the License. */ package cel import ( "github.com/google/cel-go/common/types/ref" structuralschema "k8s.io/apiextensions-apiserver/pkg/apiserver/schema" "k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model" celopenapi "k8s.io/apiserver/pkg/cel/common" ) // UnstructuredToVal converts a Kubernetes unstructured data element to a CEL Val.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 02:56:51 UTC 2023 - 1.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeresolver_test.go
limitations under the License. */ package unstructured import ( "reflect" "testing" "github.com/google/cel-go/cel" "k8s.io/apimachinery/pkg/util/version" "k8s.io/apiserver/pkg/cel/environment" "k8s.io/apiserver/pkg/cel/mutation" ) func TestTypeProvider(t *testing.T) { for _, tc := range []struct { name string expression string expectedValue any
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/message.go
See the License for the specific language governing permissions and limitations under the License. */ package validating import ( celgo "github.com/google/cel-go/cel" "k8s.io/apiserver/pkg/admission/plugin/cel" ) var _ cel.ExpressionAccessor = (*MessageExpressionCondition)(nil) type MessageExpressionCondition struct { MessageExpression string }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go
limitations under the License. */ package cel import ( "context" "strings" "testing" "github.com/google/cel-go/cel" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apiserver/pkg/admission" celconfig "k8s.io/apiserver/pkg/apis/cel" "k8s.io/apiserver/pkg/cel/environment" ) type testVariable struct { name string expression string }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/config/validation/validation_istiod.go
package validation import ( "fmt" "github.com/google/cel-go/cel" telemetry "istio.io/api/telemetry/v1alpha1" ) func validateTelemetryFilter(filter *telemetry.AccessLogging_Filter) error { expr := filter.Expression env, _ := cel.NewEnv() _, issue := env.Parse(expr) if issue.Err() != nil { return fmt.Errorf("must be a valid CEL expression, %w", issue.Err()) } return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 05 18:02:37 UTC 2022 - 1011 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/value.go
See the License for the specific language governing permissions and limitations under the License. */ package cel import ( "fmt" "reflect" "sync" "time" "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" "github.com/google/cel-go/common/types/traits" ) // EncodeStyle is a hint for string encoding of parsed values. type EncodeStyle int const (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 20.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/maplist.go
See the License for the specific language governing permissions and limitations under the License. */ package cel import ( "k8s.io/apiextensions-apiserver/pkg/apiserver/schema" "k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model" "k8s.io/apiserver/pkg/cel/common" ) // makeMapList returns a queryable interface over the provided x-kubernetes-list-type=map
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 02:56:51 UTC 2023 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/cel/config.go
limitations under the License. */ package cel const ( // PerCallLimit specify the actual cost limit per CEL validation call // current PerCallLimit gives roughly 0.1 second for each expression validation call PerCallLimit = 1000000 // RuntimeCELCostBudget is the overall cost budget for runtime CEL validation cost per ValidatingAdmissionPolicyBinding or CustomResource
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 15 03:28:26 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go
package library_test import ( "net/netip" "regexp" "testing" "github.com/google/cel-go/cel" "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" "github.com/stretchr/testify/require" "k8s.io/apimachinery/pkg/util/sets" apiservercel "k8s.io/apiserver/pkg/cel" "k8s.io/apiserver/pkg/cel/library" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:07 UTC 2023 - 8.9K bytes - Viewed (0) -
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)