Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for CEL (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    limitations under the License.
    */
    
    package library
    
    import (
    	"context"
    	"fmt"
    	"testing"
    
    	"github.com/google/cel-go/cel"
    	"github.com/google/cel-go/checker"
    	"github.com/google/cel-go/common"
    	"github.com/google/cel-go/common/ast"
    	"github.com/google/cel-go/common/types"
    	"github.com/google/cel-go/ext"
    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go

    }
    
    // ValidationRules describes a list of validation rules written in the CEL expression language.
    type ValidationRules []ValidationRule
    
    // ValidationRule describes a validation rule written in the CEL expression language.
    type ValidationRule struct {
    	// Rule represents the expression which will be evaluated by CEL.
    	// ref: https://github.com/google/cel-spec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    	"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"
    
    	"k8s.io/kube-openapi/pkg/validation/strfmt"
    
    	"k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apiserver/pkg/cel"
    )
    
    // UnstructuredToVal converts a Kubernetes unstructured data element to a CEL Val.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    	"k8s.io/apimachinery/pkg/util/validation/field"
    	api "k8s.io/apiserver/pkg/apis/apiserver"
    	authenticationcel "k8s.io/apiserver/pkg/authentication/cel"
    	authorizationcel "k8s.io/apiserver/pkg/authorization/cel"
    	"k8s.io/apiserver/pkg/cel"
    	"k8s.io/apiserver/pkg/cel/environment"
    	"k8s.io/apiserver/pkg/features"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/util/cert"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go

    	// expression represents the expression which will be evaluated by CEL. Must evaluate to bool.
    	// CEL expressions have access to the contents of the SubjectAccessReview in v1 version.
    	// If version specified by subjectAccessReviewVersion in the request variable is v1beta1,
    	// the contents would be converted to the v1 version before evaluating the CEL expression.
    	//
    	// Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    	"encoding/json"
    	"fmt"
    	"io/ioutil"
    	"net/http"
    	"net/url"
    	"reflect"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/coreos/go-oidc"
    	celgo "github.com/google/cel-go/cel"
    	"github.com/google/cel-go/common/types/ref"
    
    	authenticationv1 "k8s.io/api/authentication/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/net"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    			continue
    		}
    		expT, err := expType.ExprType()
    		if err != nil {
    			t.Errorf("fail to get cel type: %s", err)
    		}
    		actT, err := actType.ExprType()
    		if err != nil {
    			t.Errorf("fail to get cel type: %s", err)
    		}
    		if !proto.Equal(expT, actT) {
    			t.Errorf("incompatible CEL types. got=%v, wanted=%v", expT, actT)
    		}
    	}
    }
    
    func testSchema() *schema.Structural {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go

    			continue
    		}
    		expT, err := expType.ExprType()
    		if err != nil {
    			t.Errorf("fail to get cel type: %s", err)
    		}
    		actT, err := actType.ExprType()
    		if err != nil {
    			t.Errorf("fail to get cel type: %s", err)
    		}
    		if !proto.Equal(expT, actT) {
    			t.Errorf("incompatible CEL types. got=%v, wanted=%v", expT, actT)
    		}
    	}
    }
    
    func testSchema() *spec.Schema {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 17:18:27 UTC 2022
    - 13K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
      //   See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
      // 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
      //   request resource.
      // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/accesslog.go

    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3"
    	cel "github.com/envoyproxy/go-control-plane/envoy/extensions/access_loggers/filters/cel/v3"
    	grpcaccesslog "github.com/envoyproxy/go-control-plane/envoy/extensions/access_loggers/grpc/v3"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top