Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 159 for responses (0.14 sec)

  1. pilot/pkg/features/xds.go

    		"If true, Pilot will cache XDS responses.").Get()
    
    	// EnableCDSCaching determines if CDS caching is enabled. This is explicitly split out of ENABLE_XDS_CACHE,
    	// so that in case there are issues with the CDS cache we can just disable the CDS cache.
    	EnableCDSCaching = env.Register("PILOT_ENABLE_CDS_CACHE", true,
    		"If true, Pilot will cache CDS responses. Note: this depends on PILOT_ENABLE_XDS_CACHE.").Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 24 06:18:36 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. pkg/test/echo/server/forwarder/util.go

    		}
    
    		return &proto.ForwardEchoResponse{
    			Output: responses,
    		}, nil
    	case <-ctx.Done():
    		responsesMu.Lock()
    		defer responsesMu.Unlock()
    
    		var c int
    		var tt time.Duration
    		for id, res := range responses {
    			if res != "" && responseTimes[id] != 0 {
    				c++
    				tt += responseTimes[id]
    			}
    		}
    		var avgTime time.Duration
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/pilot/status.go

    	"istio.io/istio/pilot/pkg/model"
    	xdsresource "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/log"
    )
    
    // XdsStatusWriter enables printing of sync status using multiple xdsapi.DiscoveryResponse Istiod responses
    type XdsStatusWriter struct {
    	Writer                 io.Writer
    	Namespace              string
    	InternalDebugAllIstiod bool
    }
    
    type xdsWriterStatus struct {
    	proxyID               string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pilot/pkg/xds/statusgen.go

    		Server: s,
    	}
    }
    
    // Generate XDS responses about internal events:
    // - connection status
    // - NACKs
    // We can also expose ACKS.
    func (sg *StatusGen) Generate(proxy *model.Proxy, w *model.WatchedResource, req *model.PushRequest) (model.Resources, model.XdsLogDetails, error) {
    	return sg.handleInternalRequest(proxy, w, req)
    }
    
    // Generate delta XDS responses about internal events:
    // - connection status
    // - NACKs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 23:30:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. pkg/xds/monitoring.go

    		"pilot_xds_rds_reject",
    		"Pilot rejected RDS.",
    	)
    
    	totalXDSRejects = monitoring.NewSum(
    		"pilot_total_xds_rejects",
    		"Total number of XDS responses from pilot rejected by proxy.",
    	)
    
    	ResponseWriteTimeouts = monitoring.NewSum(
    		"pilot_xds_write_timeout",
    		"Pilot XDS response write timeouts.",
    	)
    
    	sendTime = monitoring.NewDistribution(
    		"pilot_xds_send_time",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pilot/pkg/xds/debuggen.go

    	hreq, _ := http.NewRequest(http.MethodGet, debugURL, nil)
    	handler, _ := dg.DebugMux.Handler(hreq)
    	response := NewResponseCapture()
    	handler.ServeHTTP(response, hreq)
    	if response.wroteHeader && len(response.header) >= 1 {
    		header, _ := json.Marshal(response.header)
    		buffer.Write(header)
    	}
    	buffer.Write(response.body.Bytes())
    	return buffer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 18:51:52 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/caller.go

    package echo
    
    import (
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/echo"
    )
    
    // CallResult the result of a call operation.
    type CallResult struct {
    	From      Caller
    	Opts      CallOptions
    	Responses echo.Responses
    }
    
    type Caller interface {
    	// Call from this Instance to a target Instance.
    	Call(options CallOptions) (CallResult, error)
    	CallOrFail(t test.Failer, options CallOptions) CallResult
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. pkg/test/echo/server/forwarder/instance.go

    	protocolMap[scheme.UDP] = add(newUDPProtocol(e))
    
    	return &Instance{
    		e:           e,
    		protocolMap: protocolMap,
    		protocols:   protocols,
    	}
    }
    
    // ForwardEcho sends the requests and collect the responses.
    func (i *Instance) ForwardEcho(ctx context.Context, cfg *Config) (*proto.ForwardEchoResponse, error) {
    	if err := cfg.fillDefaults(); err != nil {
    		return nil, err
    	}
    
    	// Lookup the protocol.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 17:19:22 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. pkg/test/echo/fields.go

    //  See the License for the specific language governing permissions and
    //  limitations under the License.
    
    package echo
    
    import (
    	"fmt"
    	"io"
    )
    
    // Field is a list of fields returned in responses from the Echo server.
    type Field string
    
    func (f Field) String() string {
    	return string(f)
    }
    
    func (f Field) Write(out io.StringWriter, value string) {
    	_, _ = out.WriteString(fmt.Sprintf("%s=%s\n", f, value))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. pkg/test/echo/client.go

    	}
    	return nil
    }
    
    func (c *Client) Echo(ctx context.Context, request *proto.EchoRequest) (Response, error) {
    	resp, err := c.client.Echo(ctx, request)
    	if err != nil {
    		return Response{}, err
    	}
    	return parseResponse(resp.Message), nil
    }
    
    // ForwardEcho sends the given forward request and parses the response for easier processing. Only fails if the request fails.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top