Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for protoimpl (0.13 sec)

  1. pilot/pkg/security/authz/matcher/string_test.go

    package matcher
    
    import (
    	"testing"
    
    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    )
    
    type testCase struct {
    	name   string
    	v      string
    	prefix string
    	want   *matcher.StringMatcher
    }
    
    func TestStringMatcherWithPrefix(t *testing.T) {
    	testCases := []testCase{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 17 22:42:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/SpecializedMapStrategy.java

            Class<?> proxyImpl;
            try {
                proxyImpl = generatedImplementationTypes.get(modelType);
            } catch (ExecutionException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            extractionContext.found(getModelSchema(extractionContext, elementType, proxyImpl));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. pilot/pkg/security/authz/matcher/header_test.go

    	"testing"
    
    	routepb "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    )
    
    func TestHeaderMatcher(t *testing.T) {
    	testCases := []struct {
    		Name   string
    		K      string
    		V      string
    		Expect *routepb.HeaderMatcher
    	}{
    		{
    			Name: "exact match",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 17 22:42:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/matcher/metadata_test.go

    package matcher
    
    import (
    	"testing"
    
    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    )
    
    func TestMetadataStringMatcher(t *testing.T) {
    	m := &matcher.StringMatcher{
    		MatchPattern: &matcher.StringMatcher_Exact{
    			Exact: "exact",
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. pkg/config/model_test.go

    			func(c Spec) Spec {
    				c.(*config.MockConfig).Key = "bar"
    				return c
    			},
    			protocmp.Transform(),
    		},
    		// XDS type, to test golang/proto
    		{
    			&cluster.Cluster{Name: "foobar"},
    			func(c Spec) Spec {
    				c.(*cluster.Cluster).Name = "bar"
    				return c
    			},
    			protocmp.Transform(),
    		},
    		// Random struct pointer
    		{
    			&TestStruct{Name: "foobar"},
    			func(c Spec) Spec {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/matcher/template_test.go

    package matcher
    
    import (
    	"testing"
    
    	uri_template "github.com/envoyproxy/go-control-plane/envoy/extensions/path/match/uri_template/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    )
    
    func TestPathTemplateMatcher(t *testing.T) {
    	testCases := []struct {
    		name string
    		path string
    		want *uri_template.UriTemplateMatchConfig
    	}{
    		{
    			name: "matchOneOnly",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. pilot/pkg/xds/nds_test.go

    	"time"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pilot/test/xds"
    	"istio.io/istio/pkg/config/constants"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/extension/wasmplugin_test.go

    	wasmextension "github.com/envoyproxy/go-control-plane/envoy/extensions/wasm/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    	"google.golang.org/protobuf/types/known/anypb"
    	"google.golang.org/protobuf/types/known/durationpb"
    	"google.golang.org/protobuf/types/known/wrapperspb"
    
    	extensions "istio.io/api/extensions/v1alpha1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. pkg/config/mesh/kubemesh/watcher_test.go

    					Should(Succeed())
    			}
    
    			retry.UntilOrFail(t, func() bool { return cmp.Equal(w.Mesh(), step.expect, protocmp.Transform()) })
    			retry.UntilOrFail(t, func() bool {
    				mu.Lock()
    				defer mu.Unlock()
    				return cmp.Equal(newM, step.expect, protocmp.Transform())
    			})
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. pkg/test/util/assert/assert.go

    package assert
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	"google.golang.org/protobuf/testing/protocmp"
    
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    var compareErrors = cmp.Comparer(func(x, y error) bool {
    	switch {
    	case x == nil && y == nil:
    		return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 18 17:21:50 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top