Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 159 for responses (0.78 sec)

  1. security/pkg/nodeagent/cache/secretcache.go

    		cacheLog.Errorf("%s failed to extract expire time from server certificate in CSR response %+v: %v",
    			logPrefix, certChainPEM, err)
    		return nil, fmt.Errorf("failed to extract expire time from server certificate in CSR response: %v", err)
    	}
    
    	cacheLog.WithLabels("latency", time.Since(t0), "ttl", time.Until(expireTime)).Info("generated new workload certificate")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  2. pkg/hbone/dialer.go

    	}
    	// Setup a pipe. We could just pass `conn` to `http.NewRequest`, but this has a few issues:
    	// * Less visibility into i/o
    	// * http will call conn.Close, which will close before we want to (finished writing response).
    	pr, pw := io.Pipe()
    	r, err := http.NewRequest(http.MethodConnect, url, pr)
    	if err != nil {
    		return fmt.Errorf("new request: %v", err)
    	}
    	r.Host = address
    
    	// Initiate CONNECT.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:41 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/route_test.go

    		g.Expect(routes[0].ResponseHeadersToAdd[0].Header.Value).To(Equal("max-age=31536000; includeSubDomains; preload"))
    	})
    
    	t.Run("for direct response code", func(t *testing.T) {
    		g := NewWithT(t)
    		cg := core.NewConfigGenTest(t, core.TestOptions{})
    
    		routes, err := route.BuildHTTPRoutesForVirtualService(node(cg), virtualServiceWithDirectResponse, serviceRegistry,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  4. operator/cmd/mesh/shared.go

    func Confirm(msg string, writer io.Writer) bool {
    	for {
    		_, _ = fmt.Fprintf(writer, "%s ", msg)
    		var response string
    		_, err := fmt.Scanln(&response)
    		if err != nil {
    			return false
    		}
    		switch strings.ToUpper(response) {
    		case "Y", "YES":
    			return true
    		case "N", "NO":
    			return false
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. istioctl/pkg/cli/mock_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: Thu Jun 15 15:02:17 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. operator/pkg/metrics/monitoring.go

    	// ResourceUpdateTotal indicates the number of resources updated by
    	// the operator in response to CR updates for a revision.
    	ResourceUpdateTotal = monitoring.NewSum(
    		"resource_update_total",
    		"Number of resources updated by the operator",
    	)
    
    	// ResourceDeletionTotal indicates the number of resources deleted
    	// by the operator in response to CR update or delete operation (like
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top