Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 227 for CEL (0.1 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/authentication/cel/compile_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cel
    
    import (
    	"reflect"
    	"strings"
    	"testing"
    
    	authenticationv1 "k8s.io/api/authentication/v1"
    	apiservercel "k8s.io/apiserver/pkg/cel"
    	"k8s.io/apiserver/pkg/cel/environment"
    )
    
    func TestCompileClaimsExpression(t *testing.T) {
    	testCases := []struct {
    		name                string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

    }
    
    // ValidationRule describes a validation rule written in the CEL expression language.
    message ValidationRule {
      // Rule represents the expression which will be evaluated by CEL.
      // ref: https://github.com/google/cel-spec
      // The Rule is scoped to the location of the x-kubernetes-validations extension in the schema.
      // The `self` variable in the CEL expression is bound to the scoped value.
      // Example:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  7. releasenotes/notes/native-stats.yaml

      instead of the Wasm-based extension. This improves CPU overhead and memory
      usage of the feature. Custom dimensions no longer require regex and bootstrap
      annotations. If customizations use CEL expressions with Wasm attributes, they
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 21 16:00:46 UTC 2022
    - 420 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/mutation/common/constants.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package common
    
    import (
    	"github.com/google/cel-go/common/types/traits"
    )
    
    // RootTypeReferenceName is the root reference that all type names should start with.
    const RootTypeReferenceName = "Object"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 897 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    	"k8s.io/apiextensions-apiserver/pkg/apiserver/schema"
    	"k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model"
    	apiextensionsfeatures "k8s.io/apiextensions-apiserver/pkg/features"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    	"k8s.io/apimachinery/pkg/util/yaml"
    	celconfig "k8s.io/apiserver/pkg/apis/cel"
    	"k8s.io/apiserver/pkg/cel/common"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/apiserver/pkg/warning"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K 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