Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 159 for responses (0.18 sec)

  1. pkg/dns/client/dns_test.go

    		},
    		{
    			// This is not a NXDOMAIN, but empty response
    			name: "success: Error response if only AAAA records exist for typeA",
    			host: "ipv6.localhost.",
    		},
    		{
    			// This is not a NXDOMAIN, but empty response
    			name:      "success: Error response if only A records exist for typeAAAA",
    			host:      "ipv4.localhost.",
    			queryAAAA: true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. pkg/kube/kclient/delayed.go

    	"istio.io/istio/pkg/ptr"
    )
    
    // delayedClient is a client wrapper that initially starts with an "empty client",
    // but can later be swapped with a real client.
    // The "empty client" returns empty responses for all reads, and fails all writes.
    type delayedClient[T controllers.ComparableObject] struct {
    	inf *atomic.Pointer[Informer[T]]
    
    	delayed kubetypes.DelayedFilter
    
    	hm       sync.Mutex
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 31 02:32:59 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/configdump.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	sdscompare "istio.io/istio/istioctl/pkg/writer/compare/sds"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // ConfigWriter is a writer for processing responses from the Envoy Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout     io.Writer
    	configDump *configdump.Wrapper
    }
    
    // includeConfigType is a flag to indicate whether to include the config type in the output
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/util/traffic/result.go

    	_, _ = fmt.Fprintf(buf, "Errors:              %v\n", r.Error)
    
    	return buf.String()
    }
    
    func (r *Result) add(result echo.CallResult, err error) {
    	count := result.Responses.Len()
    	if count == 0 {
    		count = 1
    	}
    
    	r.TotalRequests += count
    	if err != nil {
    		r.Error = multierror.Append(r.Error, fmt.Errorf("request %d: %v", r.TotalRequests, err))
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. pilot/pkg/networking/grpcgen/grpcgen.go

    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/config/host"
    	istiolog "istio.io/istio/pkg/log"
    )
    
    // Support generation of 'ApiListener' LDS responses, used for native support of gRPC.
    // The same response can also be used by other apps using XDS directly.
    
    // GRPC proposal:
    // https://github.com/grpc/proposal/blob/master/A27-xds-global-load-balancing.md
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. pkg/lazy/lazy.go

    	Get() (T, error)
    }
    
    type lazyImpl[T any] struct {
    	getter func() (T, error)
    	// retry, if true, will ensure getter() is called for each Get() until a non-nil error is returned.
    	retry bool
    
    	// Cached responses. Note: with retry enabled, this will be unset until a non-nil error
    	res T
    	err error
    
    	done uint32
    	m    sync.Mutex
    }
    
    var _ Lazy[any] = &lazyImpl[any]{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 17 22:54:10 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  7. pilot/pkg/model/jwks_resolver.go

    // (right now calls it from initDiscoveryService in pkg/bootstrap/server.go).
    func (r *JwksResolver) Close() {
    	closeChan <- true
    }
    
    // Compare two JWKS responses, returning true if there is a difference and false otherwise
    func compareJWKSResponse(oldKeyString string, newKeyString string) (bool, error) {
    	if oldKeyString == newKeyString {
    		return false, nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top