Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 632 for nack (0.12 sec)

  1. pkg/istio-agent/xds_proxy_delta_test.go

    		},
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Wait until nonce was updated, which represents an ACK/NACK has been received.
    	retry.UntilSuccessOrFail(t, func() error {
    		if proxy.ecdsLastNonce.Load() == n1.Load() {
    			return errors.New("last process nonce has not been updated. no ecds ack/nack is received yet")
    		}
    		return nil
    	}, retry.Timeout(time.Second), retry.Delay(time.Millisecond))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. pilot/pkg/xds/adstest.go

    func (a *AdsTest) RequestResponseNack(t test.Failer, req *discovery.DiscoveryRequest) *discovery.DiscoveryResponse {
    	t.Helper()
    	if req == nil {
    		req = &discovery.DiscoveryRequest{}
    	}
    	a.Request(t, req)
    	resp := a.ExpectResponse(t)
    	req.ResponseNonce = resp.Nonce
    	req.ErrorDetail = &status.Status{Message: "Test request NACK"}
    	a.Request(t, req)
    	return resp
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. pilot/pkg/xds/deltaadstest.go

    		Node:          req.Node,
    		TypeUrl:       req.TypeUrl,
    		ResponseNonce: req.ResponseNonce,
    	})
    	return resp
    }
    
    // RequestResponseNack does a full XDS exchange with an error: Send a request, get a response, and NACK the response
    func (a *DeltaAdsTest) RequestResponseNack(req *discovery.DeltaDiscoveryRequest) *discovery.DeltaDiscoveryResponse {
    	a.t.Helper()
    	if req == nil {
    		req = &discovery.DeltaDiscoveryRequest{}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. pkg/xds/server_test.go

    			response: true,
    		},
    		{
    			name: "ack",
    			proxy: &TestProxy{
    				WatchedResources: map[string]*WatchedResource{
    					model.ClusterType: {
    						NonceSent: "nonce",
    					},
    				},
    			},
    			request: &discovery.DiscoveryRequest{
    				TypeUrl:       model.ClusterType,
    				VersionInfo:   "v1",
    				ResponseNonce: "nonce",
    			},
    			response: false,
    		},
    		{
    			name: "ack forced",
    			proxy: &TestProxy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/match/match.go

    		// that fallback may be an empty map, so we re-queue onMatch in case it still needs fixing
    		onMatch.OnMatch = fallback.OnMatch
    		return []*matcher.Matcher_OnMatch{onMatch} // the inner mapper is gone
    	}
    
    	// envoy will nack this eventually
    	log.Warnf("empty mapper %v with no fallback", innerMapper.Matcher)
    	return innerMapper.allOnMatches()
    }
    
    func (m Mapper) allOnMatches() []*matcher.Matcher_OnMatch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/pack/pack.go

    	log.SetPrefix("pack: ")
    	telemetry.Start()
    	// need "pack op archive" at least.
    	if len(os.Args) < 3 {
    		log.Print("not enough arguments")
    		fmt.Fprintln(os.Stderr)
    		usage()
    	}
    	setOp(os.Args[1])
    	telemetry.Inc("pack/invocations")
    	telemetry.Inc("pack/op:" + string(op))
    	var ar *Archive
    	switch op {
    	case 'p':
    		ar = openArchive(os.Args[2], os.O_RDONLY, os.Args[3:])
    		ar.scan(ar.printContents)
    	case 'r':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. hack/lint-dependencies.sh

    # pinned versions of checked dependencies match their preferred version or not.
    # Usage: `hack/lint-dependencies.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # Detect problematic GOPROXY settings that prevent lookup of dependencies
    if [[ "${GOPROXY:-}" == "off" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. hack/verify-testing-import.sh

    # to avoid including test libraries in production binaries as they often lack
    # rigorous review and sufficient testing.
    # Usage: `hack/verify-test-code.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    cd "${KUBE_ROOT}"
    
    RELEASE_BIN_PKGS=(
      "${KUBE_ROOT}/cmd/cloud-controller-manager"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 11:56:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/util.go

    // used rather than just deleting the webhook since we want to keep it around after changing the default so user can later
    // switch back to it. This is a hack but it is meant to cover a corner case where a user wants to migrate from a non-revisioned
    // old version and then later decides to switch back to the old revision again.
    func DeactivateIstioInjectionWebhook(ctx context.Context, client kubernetes.Interface) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. pilot/pkg/xds/workload.go

    	var addresses sets.String
    	if isReq {
    		// this is from request, we only send response for the subscribed address
    		// At t0, a client request A, we only send A and additional resources back to the client.
    		// At t1, a client request B, we only send B and additional resources back to the client, no A here.
    		addresses = req.Delta.Subscribed
    	} else {
    		if w.Wildcard {
    			addresses = updatedAddresses
    		} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top