Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 103 for httpfilter (0.56 sec)

  1. pilot/pkg/security/authz/builder/builder_test.go

    			t.Fatalf("failed to parse YAML: %v", err)
    		}
    		return out
    	}
    	out := &hcm.HttpFilter{}
    	if err := protomarshal.ApplyYAML(string(data), out); err != nil {
    		t.Fatalf("failed to parse YAML: %v", err)
    	}
    	return out
    }
    
    func convertHTTP(in []*hcm.HttpFilter) []proto.Message {
    	ret := make([]proto.Message, len(in))
    	for i := range in {
    		ret[i] = in[i]
    	}
    	return ret
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. pkg/config/validation/envoyfilter/envoyfilter_test.go

    	}
    }
    
    func TestRecurseMissingTypedConfig(t *testing.T) {
    	good := &listener.Filter{
    		Name:       wellknown.TCPProxy,
    		ConfigType: &listener.Filter_TypedConfig{TypedConfig: nil},
    	}
    	ecds := &hcm.HttpFilter{
    		Name:       "something",
    		ConfigType: &hcm.HttpFilter_ConfigDiscovery{},
    	}
    	bad := &listener.Filter{
    		Name: wellknown.TCPProxy,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/util/util.go

    	}
    	st, _ := structpb.NewStruct(m)
    	return st
    }
    
    func BuildStatefulSessionFilter(svc *model.Service) *hcm.HttpFilter {
    	filterConfig := MaybeBuildStatefulSessionFilterConfig(svc)
    	if filterConfig == nil {
    		return nil
    	}
    
    	return &hcm.HttpFilter{
    		Name: StatefulSessionFilter,
    		ConfigType: &hcm.HttpFilter_TypedConfig{
    			TypedConfig: protoconv.MessageToAny(filterConfig),
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    		return []string{}, err
    	}
    
    	// Identify RBAC policies. Currently there are no "breadcrumbs" so we only return the policy names.
    	for _, httpFilter := range hcm.HttpFilters {
    		if httpFilter.Name == wellknown.HTTPRoleBasedAccessControl {
    			rbac := &rbachttp.RBAC{}
    			if err := httpFilter.GetTypedConfig().UnmarshalTo(rbac); err == nil {
    				policies := []string{}
    				for polName := range rbac.Rules.Policies {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry_test.go

    			telemetry.meshConfig.DefaultProviders = tt.defaultProviders
    			got := telemetry.telemetryFilters(tt.proxy, tt.class, tt.protocol, nil)
    			res := map[string]string{}
    			http, ok := got.([]*hcm.HttpFilter)
    			if ok {
    				for _, f := range http {
    					if strings.HasSuffix(f.GetTypedConfig().GetTypeUrl(), "/stats.PluginConfig") {
    						w := &stats.PluginConfig{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listener_test.go

    				{
    					Name:           "0.0.0.0_8080",
    					Type:           listenertest.MTLSHTTP,
    					HTTPFilters:    httpFilters,
    					NetworkFilters: httpNetworkFilters,
    					TotalMatch:     true,
    				},
    				{
    					Name:           "0.0.0.0_8080",
    					Type:           listenertest.PlainTCP,
    					HTTPFilters:    httpFilters,
    					NetworkFilters: httpNetworkFilters,
    					TotalMatch:     true,
    				},
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  7. operator/cmd/mesh/testdata/manifest-generate/input-extra-resources/envoyfilter.yaml

    spec:
      configPatches:
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_OUTBOUND
          listener:
            filterChain:
              filter:
                name: envoy.filters.network.http_connection_manager
                subFilter:
                  name: envoy.filters.http.router
          proxy:
            proxyVersion: ^1\.19.*
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_INBOUND
          listener:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 18:26:24 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/testdata/envoy-filter-patch-operation.yaml

    # If the patch operation is REPLACE but the applyTo is not HTTP_FILTER or NETWORK_FILTER, then an error will occur
    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: test-patch-1
      namespace: bookinfo
    spec:
      workloadSelector:
        labels:
          app: reviews
      priority: 10
      configPatches:
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_INBOUND
        patch:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 31 19:38:42 UTC 2022
    - 5K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/envoy-filter-replace-operation.yaml

    # If the patch operation is REPLACE but priority is set, then the analyzer will not do anything
    # If the patch operation is REPLACE but the applyTo is not HTTP_FILTER or NETWORK_FILTER, then an error will occur
    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: test-replace-1
      namespace: bookinfo
    spec:
      workloadSelector:
        labels:
          app: reviews1
      priority: 10
      configPatches:
      - applyTo: CLUSTER
        match:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 31 19:38:42 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/envoy-filter-add-operation.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: test-auth-1
      namespace: bookinfo
    spec:
      configPatches:
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_INBOUND
        patch:
          operation: ADD
          filterClass: AUTHZ # This filter will run *after* the Istio authz filter.
          value:
            name: envoy.filters.http.ext_authz
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 31 19:38:42 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top