Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildRedisFilter (0.12 sec)

  1. pilot/pkg/networking/core/networkfilter.go

    		ConfigType: &listener.Filter_TypedConfig{TypedConfig: protoconv.MessageToAny(mongoProxy)},
    	}
    
    	return out
    }
    
    // buildRedisFilter builds an outbound Envoy RedisProxy filter.
    // Currently, if multiple clusters are defined, one of them will be picked for
    // configuring the Redis proxy.
    func buildRedisFilter(statPrefix, clusterName string) *listener.Filter {
    	redisProxy := &redis.RedisProxy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/networkfilter_test.go

    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/wellknown"
    )
    
    func TestBuildRedisFilter(t *testing.T) {
    	redisFilter := buildRedisFilter("redis", "redis-cluster")
    	if redisFilter.Name != wellknown.RedisProxy {
    		t.Errorf("redis filter name is %s not %s", redisFilter.Name, wellknown.RedisProxy)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top