Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 88 for responses (0.25 sec)

  1. pilot/pkg/xds/workload.go

    // and supports *on-demand* client usage. A client can subscribe with a wildcard subscription and get all
    // resources (with delta updates), or on-demand and only get responses for specifically subscribed resources.
    //
    // Incoming requests may be for VIP or Pod IP addresses. However, all responses are Workload resources, which are pod based.
    // This means subscribing to a VIP may end up pushing many resources of different name than the request.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    package configdump
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"text/tabwriter"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    )
    
    // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout      io.Writer
    	ztunnelDump *ZtunnelDump
    	FullDump    []byte
    }
    
    type rawDump struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/configgen.go

    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/pkg/model"
    	dnsProto "istio.io/istio/pkg/dns/proto"
    )
    
    // ConfigGenerator represents the interfaces to be implemented by code that generates xDS responses
    type ConfigGenerator interface {
    	// BuildListeners returns the list of inbound/outbound listeners for the given proxy. This is the LDS output
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/workload.go

    		addresses = append(addresses, podIP.IP)
    	}
    	w.mutex.Unlock()
    	return addresses
    }
    
    func (w *workload) ForwardEcho(ctx context.Context, request *proto.ForwardEchoRequest) (echoClient.Responses, error) {
    	w.mutex.Lock()
    	c := w.client
    	if c == nil {
    		w.mutex.Unlock()
    		return nil, fmt.Errorf("failed forwarding echo for disconnected pod %s/%s",
    			w.pod.Namespace, w.pod.Name)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 19:46:28 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/clusters/clusters.go

    type EndpointFilter struct {
    	Address string
    	Port    uint32
    	Cluster string
    	Status  string
    }
    
    // ConfigWriter is a writer for processing responses from the Envoy Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout   io.Writer
    	clusters *clusters.Wrapper
    }
    
    // EndpointCluster is used to store the endpoint and cluster
    type EndpointCluster struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  6. pilot/pkg/model/xds_cache.go

    )
    
    type XdsCacheImpl struct {
    	cds typedXdsCache[uint64]
    	eds typedXdsCache[uint64]
    	rds typedXdsCache[uint64]
    	sds typedXdsCache[string]
    }
    
    // XdsCache interface defines a store for caching XDS responses.
    // All operations are thread safe.
    type XdsCache interface {
    	// Run starts a background thread to flush evicted indexes periodically.
    	Run(stop <-chan struct{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 02 07:02:05 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. pkg/test/echo/response.go

    import (
    	"fmt"
    	"net/http"
    	"sort"
    	"strings"
    )
    
    // HeaderType is a helper enum for retrieving Headers from a Response.
    type HeaderType string
    
    const (
    	RequestHeader  HeaderType = "request"
    	ResponseHeader HeaderType = "response"
    )
    
    // Response represents a response to a single echo request.
    type Response struct {
    	// RequestURL is the requested URL. This differs from URL, which is the just the path.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 01 01:05:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/status/testserver/server.go

    package testserver
    
    import (
    	"net"
    	"net/http"
    	"net/http/httptest"
    )
    
    // CreateAndStartServer starts a server and returns the response passed.
    func CreateAndStartServer(response string) *httptest.Server {
    	return createHTTPServer(createDefaultFuncMap(response))
    }
    
    func createHTTPServer(handlers map[string]func(rw http.ResponseWriter, _ *http.Request)) *httptest.Server {
    	mux := http.NewServeMux()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 26 17:53:14 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. pkg/http/get.go

    	}
    	for k, v := range headers {
    		req.Header.Set(k, v)
    	}
    
    	response, err := httpClient.Do(req)
    	if err != nil {
    		return nil, err
    	}
    	defer response.Body.Close()
    
    	if response.StatusCode != http.StatusOK {
    		return nil, fmt.Errorf("unexpected status %d", response.StatusCode)
    	}
    
    	var b bytes.Buffer
    	if _, err := io.Copy(&b, response.Body); err != nil {
    		return nil, err
    	}
    	return &b, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. pkg/kube/krt/recomputetrigger_test.go

    	rt := krt.NewRecomputeTrigger()
    	col1 := krt.NewStatic(ptr.Of("foo")).AsCollection()
    	response := "foo"
    	col2 := krt.NewCollection(col1, func(ctx krt.HandlerContext, i string) *string {
    		rt.MarkDependant(ctx)
    		return ptr.Of(response)
    	})
    	tt := assert.NewTracker[string](t)
    	col2.Register(TrackerHandler[string](tt))
    	tt.WaitOrdered("add/foo")
    
    	response = "bar"
    	rt.TriggerRecomputation()
    	tt.WaitUnordered("delete/foo", "add/bar")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 05:51:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top