Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMask (1.61 sec)

  1. istioctl/pkg/metrics/metrics_test.go

    )
    
    // mockPromAPI lets us mock calls to Prometheus API
    type mockPromAPI struct {
    	cannedResponse map[string]prometheus_model.Value
    }
    
    func TestMetricsNoPrometheus(t *testing.T) {
    	cases := []testutil.TestCase{
    		{ // case 0
    			Args:           []string{},
    			ExpectedRegexp: regexp.MustCompile("Error: metrics requires workload name\n"),
    			WantException:  true,
    		},
    		{ // case 1
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top