Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for expectMetrics (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    			}
    		})
    	}
    }
    
    func TestAuthenticateMetrics(t *testing.T) {
    	testcases := []struct {
    		name         string
    		header       bool
    		apiAuds      []string
    		respAuds     []string
    		expectMetric bool
    		expectOk     bool
    		expectError  bool
    	}{
    		{
    			name:        "no api audience and no audience in response",
    			header:      true,
    			apiAuds:     nil,
    			respAuds:    nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top