Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Scanner (0.13 sec)

  1. istioctl/pkg/metrics/metrics_test.go

    }
    
    func (client mockPromAPI) Query(ctx context.Context, query string, ts time.Time, opts ...promv1.Option) (prometheus_model.Value, promv1.Warnings, error) {
    	canned, ok := client.cannedResponse[query]
    	if !ok {
    		return prometheus_model.Vector{}, nil, nil
    	}
    	return canned, nil, nil
    }
    
    func (client mockPromAPI) TSDB(ctx context.Context) (promv1.TSDBResult, error) {
    	return promv1.TSDBResult{}, nil
    }
    
    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