Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pilot/pkg/model/service_test.go

    	}
    }
    
    func BenchmarkParseSubsetKey(b *testing.B) {
    	for n := 0; n < b.N; n++ {
    		ParseSubsetKey("outbound|80|v1|example.com")
    		ParseSubsetKey("outbound_.8080_.v1_.foo.example.org")
    	}
    }
    
    func TestParseSubsetKey(t *testing.T) {
    	tests := []struct {
    		input      string
    		direction  TrafficDirection
    		subsetName string
    		hostname   host.Name
    		port       int
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top