Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,961 for structpb (0.23 sec)

  1. pilot/pkg/networking/util/util_test.go

    			&core.Metadata{
    				FilterMetadata: map[string]*structpb.Struct{
    					IstioMetadataKey: {
    						Fields: map[string]*structpb.Value{
    							"other-config": {
    								Kind: &structpb.Value_StringValue{
    									StringValue: "other-config",
    								},
    							},
    						},
    					},
    				},
    			},
    			&core.Metadata{
    				FilterMetadata: map[string]*structpb.Struct{
    					IstioMetadataKey: {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. pilot/pkg/model/telemetry_logging_test.go

    		{
    			name: "with-metadata",
    			json: &structpb.Struct{
    				Fields: map[string]*structpb.Value{
    					"key1": {Kind: &structpb.Value_StringValue{StringValue: "%METADATA(CLUSTER:istio)%"}},
    				},
    			},
    			expected: []*core.TypedExtensionConfig{
    				metadataFormatter,
    			},
    		},
    		{
    			name: "with-both",
    			json: &structpb.Struct{
    				Fields: map[string]*structpb.Value{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  3. pkg/config/validation/envoyfilter/envoyfilter_test.go

    						Operation: networking.EnvoyFilter_Patch_INSERT_BEFORE,
    						Value: &structpb.Struct{
    							Fields: map[string]*structpb.Value{
    								"typed_config": {
    									Kind: &structpb.Value_StructValue{StructValue: &structpb.Struct{
    										Fields: map[string]*structpb.Value{
    											"@type": {
    												Kind: &structpb.Value_StringValue{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/telemetry_logging.go

    	// the reason why Envoy rejects a request.
    	EnvoyJSONLogFormatIstio = &structpb.Struct{
    		Fields: map[string]*structpb.Value{
    			"start_time":                        {Kind: &structpb.Value_StringValue{StringValue: "%START_TIME%"}},
    			"route_name":                        {Kind: &structpb.Value_StringValue{StringValue: "%ROUTE_NAME%"}},
    			"method":                            {Kind: &structpb.Value_StringValue{StringValue: "%REQ(:METHOD)%"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. security/pkg/nodeagent/caclient/providers/citadel/client.go

    	}
    }
    
    // CSRSign calls Citadel to sign a CSR.
    func (c *CitadelClient) CSRSign(csrPEM []byte, certValidTTLInSec int64) (res []string, err error) {
    	crMetaStruct := &structpb.Struct{
    		Fields: map[string]*structpb.Value{
    			security.CertSigner: {
    				Kind: &structpb.Value_StringValue{StringValue: c.opts.CertSigner},
    			},
    		},
    	}
    	req := &pb.IstioCertificateRequest{
    		Csr:              string(csrPEM),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_test.go

    				FilterMetadata: map[string]*structpb.Struct{
    					util.IstioMetadataKey: {
    						Fields: map[string]*structpb.Value{
    							"services": {
    								Kind: &structpb.Value_ListValue{
    									ListValue: &structpb.ListValue{
    										Values: []*structpb.Value{
    											{
    												Kind: &structpb.Value_StructValue{
    													StructValue: &structpb.Struct{
    														Fields: map[string]*structpb.Value{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  7. pilot/pkg/networking/util/util.go

    		metadata = &core.Metadata{
    			FilterMetadata: map[string]*structpb.Struct{},
    		}
    	}
    
    	if _, ok := metadata.FilterMetadata[IstioMetadataKey]; !ok {
    		metadata.FilterMetadata[IstioMetadataKey] = &structpb.Struct{
    			Fields: map[string]*structpb.Value{},
    		}
    	}
    
    	metadata.FilterMetadata[IstioMetadataKey].Fields["alpn_override"] = &structpb.Value{
    		Kind: &structpb.Value_StringValue{
    			StringValue: "false",
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/istio.go

    type OperatorValues map[string]*structpb.Value
    
    // This regular expression matches list object index selection expression such as
    // abc[100], Tba_a[0].
    var listObjRex = regexp.MustCompile(`^([a-zA-Z]?[a-z_A-Z\d]*)\[([ ]*[\d]+)[ ]*\]$`)
    
    func getConfigValue(path []string, val map[string]*structpb.Value) *structpb.Value {
    	retVal := structpb.NewNullValue()
    	if len(path) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 30 17:47:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_waypoint.go

    	// Ensure VIP cluster has services metadata for stats filter usage
    	im := getOrCreateIstioMetadata(localCluster.cluster)
    	im.Fields["services"] = &structpb.Value{
    		Kind: &structpb.Value_ListValue{
    			ListValue: &structpb.ListValue{
    				Values: []*structpb.Value{},
    			},
    		},
    	}
    	svcMetaList := im.Fields["services"].GetListValue()
    	svcMetaList.Values = append(svcMetaList.Values, buildServiceMetadata(svc))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. pkg/config/analysis/local/helpers_test.go

    var K8SCollection1 = r2.Builder{
    	Group:         "testdata.istio.io",
    	Kind:          "Kind1",
    	Plural:        "Kind1s",
    	Version:       "v1alpha1",
    	Proto:         "google.protobuf.Struct",
    	ReflectType:   reflect.TypeOf(&structpb.Struct{}).Elem(),
    	ProtoPackage:  "github.com/gogo/protobuf/types",
    	ClusterScoped: false,
    	ValidateProto: validation.EmptyValidate,
    }.MustBuild()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top