Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPathTemplateMatcher (0.14 sec)

  1. pilot/pkg/security/authz/matcher/template_test.go

    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",
    			path: "/foo/bar/{*}",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top