Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFindProtocolForPort (0.09 sec)

  1. istioctl/pkg/describe/describe_test.go

    		},
    	}
    
    	for _, tc := range cases {
    		t.Run("", func(t *testing.T) {
    			got := GetRevisionFromPodAnnotation(tc.anno)
    			assert.Equal(t, tc.expected, got)
    		})
    	}
    }
    
    func TestFindProtocolForPort(t *testing.T) {
    	http := "HTTP"
    	hbone := "hbone"
    	cases := []struct {
    		port             corev1.ServicePort
    		expectedProtocol string
    	}{
    		{
    			port: corev1.ServicePort{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
Back to top