Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for protoimpl (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pilot/pkg/networking/util/util_test.go

    	if !cmp.Equal(testCla, cloned, protocmp.Transform()) {
    		t.Fatalf("expected %v to be the same as %v", testCla, cloned)
    	}
    	cloned.ClusterName = "foo"
    	cloned.Endpoints[0].LbEndpoints[0].LoadBalancingWeight.Value = 5
    	if cmp.Equal(testCla, cloned, protocmp.Transform()) {
    		t.Fatalf("expected %v to be the different from %v", testCla, cloned)
    	}
    	if !cmp.Equal(testCla, cloned2, protocmp.Transform()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. pilot/pkg/security/authn/utils/utils_test.go

    package utils
    
    import (
    	"testing"
    
    	tls "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	model "istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking"
    )
    
    func TestGetMinTLSVersion(t *testing.T) {
    	tests := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 10 20:24:43 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. pilot/cmd/pilot-agent/config/config_test.go

    // limitations under the License.
    
    package config
    
    import (
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    	"google.golang.org/protobuf/types/known/durationpb"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/mesh"
    )
    
    func TestGetMeshConfig(t *testing.T) {
    	meshOverride := `
    defaultConfig:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 13 11:53:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. operator/pkg/apis/istio/v1alpha1/deepcopy_test.go

    // limitations under the License.
    
    package v1alpha1_test
    
    import (
    	"os"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    	"sigs.k8s.io/yaml"
    
    	v1alpha12 "istio.io/api/operator/v1alpha1"
    	"istio.io/istio/operator/pkg/apis/istio"
    	install "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 05 23:34:13 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  9. 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)
  10. pilot/pkg/security/model/authentication_test.go

    	auth "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    	"google.golang.org/protobuf/types/known/durationpb"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/model/credentials"
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/pkg/spiffe"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:21 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top