- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for cannedResponse (0.31 sec)
-
istioctl/pkg/metrics/metrics_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/util/testutil" ) // 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{},
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Oct 25 02:07:44 GMT 2023 - 7.9K bytes - Viewed (0) -
istioctl/pkg/wait/wait_test.go
{ ProxyID: "foo", ClusterVersion: "1", ListenerVersion: "1", RouteVersion: "1", EndpointVersion: "1", }, } cannedResponse, _ := json.Marshal(cannedResponseObj) cannedResponseMap := map[string][]byte{"onlyonepilot": cannedResponse} distributionTrackingDisabledResponse := xds.DistributionTrackingDisabledMessage
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 6.8K bytes - Viewed (0)