Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for protoimpl (0.14 sec)

  1. pkg/test/config/mock_config.pb.go

    	sync "sync"
    
    	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    )
    
    const (
    	// Verify that this generated code is sufficiently up-to-date.
    	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    	// Verify that runtime/protoimpl is sufficiently up-to-date.
    	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    )
    
    type MockConfig struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 03 17:06:22 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top