Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 103 for responses (0.12 sec)

  1. pilot/pkg/xds/debug_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	rr := httptest.NewRecorder()
    	syncz := http.HandlerFunc(s.ConfigDump)
    	syncz.ServeHTTP(rr, req)
    	if rr.Code != wantCode {
    		t.Errorf("wanted response code %v, got %v", wantCode, rr.Code)
    	}
    	if wantCode > 399 {
    		return nil
    	}
    	got := &configdump.Wrapper{}
    	if err := got.UnmarshalJSON(rr.Body.Bytes()); err != nil {
    		t.Fatalf(err.Error())
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. security/pkg/server/ca/server.go

    			serverCaLog.Debugf("Append cert chain to response, %s", string(certChainBytes))
    		}
    	}
    	if len(rootCertBytes) != 0 {
    		respCertChain = append(respCertChain, string(rootCertBytes))
    	}
    	response := &pb.IstioCertificateResponse{
    		CertChain: respCertChain,
    	}
    	s.monitoring.Success.Increment()
    	serverCaLog.Debugf("CSR successfully signed, sans %v.", caller.Identities)
    	return response, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. pilot/pkg/xds/ecds.go

    				return nil, model.DefaultXdsLogDetails, nil
    			}
    			// Inserts Wasm pull secrets in ECDS response, which will be used at xds proxy for image pull.
    			// Before forwarding to Envoy, xds proxy will remove the secret from ECDS response.
    			secrets = e.GeneratePullSecrets(proxy, wasmSecrets, secretController)
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. pilot/pkg/xds/lds_test.go

    		// s1:5005 outbound, bind=true
    		// :443 - https external, bind=false
    		// 10.11.0.1_7070, bind=true -> inbound|2000|s1 - on port 7070, fwd to 37070
    		// virtual
    		if len(adscon.GetTCPListeners()) == 0 {
    			t.Fatal("No response")
    		}
    
    		for _, s := range []string{"lds_tcp", "lds_http", "rds", "cds", "ecds"} {
    			want, err := os.ReadFile(wd + "/none_" + s + ".json")
    			if err != nil {
    				t.Fatal(err)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    					WorkloadName:      "name3",
    					ClusterId:         testC,
    				},
    			},
    		},
    	}})
    	s.assertEvent(t, s.wleXdsName("name2"))
    	s.assertEvent(t, s.wleXdsName("name3"))
    
    	// Non-existent IP should have no response
    	s.assertWorkloads(t, s.addrXdsName("10.0.0.1"), workloadapi.WorkloadStatus_HEALTHY)
    	s.clearEvents()
    
    	s.addService(t, "svc1", map[string]string{}, // labels
    		map[string]string{}, // annotations
    		[]int32{80},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. tests/integration/telemetry/api/stats_test.go

    			return fmt.Errorf("expected %d buckets, got %v", expectedBuckets, totalBuckets)
    		}
    		return nil
    	}, retry.Delay(time.Second), retry.Timeout(time.Second*20))
    }
    
    // TestGRPCCountMetrics tests that istio_[request/response]_messages_total are present https://github.com/istio/istio/issues/44144
    // Kiali depends on these metrics
    func TestGRPCCountMetrics(t *testing.T) {
    	framework.NewTest(t).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. pkg/test/echo/proto/echo.pb.go

    	ServerName string `protobuf:"bytes,20,opt,name=serverName,proto3" json:"serverName,omitempty"`
    	// Expected response determines what string to look for in the response to validate TCP requests succeeded.
    	// If not set, defaults to "StatusCode=200"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. istioctl/pkg/internaldebug/internal-debug_test.go

    		_, _, codec := cmdtesting.NewExternalScheme()
    		tf.UnstructuredClient = &fake.RESTClient{
    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    		return tf
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/capture/run.go

    		f.Run("-p", "udp", "--dport", "53", "-m", "owner", "--uid-owner", uid, "-j", constants.CT, "--zone", "1")
    		// Packets with src port 15053 from istio to zone 2. These are Istio response packets to application clients
    		f.Run("-p", "udp", "--sport", "15053", "-m", "owner", "--uid-owner", uid, "-j", constants.CT, "--zone", "2")
    	}
    	for _, gid := range split(proxyGID) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/istiodconfig.go

    		return nil, fmt.Errorf("request not successful %s", resp.Status)
    	}
    
    	err = json.NewDecoder(resp.Body).Decode(&scopeInfos)
    	if err != nil {
    		return nil, fmt.Errorf("cannot deserialize response %s", err)
    	}
    	return scopeInfos, nil
    }
    
    func (c *ControlzClient) PutScope(scope *ScopeInfo) error {
    	var jsonScopeInfo bytes.Buffer
    	err := json.NewEncoder(&jsonScopeInfo).Encode(scope)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top