Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for timeout (0.22 sec)

  1. cni/test/install_cni.go

    	if !chainedCNIPlugin {
    		installConfig.InstallConfig.ChainedCNIPlugin = false
    	}
    
    	startInstallServer(ctx, &installConfig, t)
    }
    
    // checkResult checks if resultFile is equal to expectedFile at each tick until timeout
    func checkResult(result, expected string) error {
    	resultFile, err := os.ReadFile(result)
    	if err != nil {
    		return fmt.Errorf("couldn't read result: %v", err)
    	}
    	expectedFile, err := os.ReadFile(expected)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    func (z *ZtunnelConnection) readMessage(timeout time.Duration) (*zdsapi.WorkloadResponse, error) {
    	m, _, err := readProto[zdsapi.WorkloadResponse](z.u, timeout, nil)
    	return m, err
    }
    
    func readProto[T any, PT interface {
    	proto.Message
    	*T
    }](c *net.UnixConn, timeout time.Duration, oob []byte) (PT, int, error) {
    	var buf [1024]byte
    	err := c.SetReadDeadline(time.Now().Add(timeout))
    	if err != nil {
    		return nil, 0, err
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. manifests/charts/istio-operator/templates/deployment.yaml

                  valueFrom:
                    fieldRef:
                      fieldPath: metadata.name
                - name: OPERATOR_NAME
                  value: {{.Release.Namespace | quote}}
                - name: WAIT_FOR_RESOURCES_TIMEOUT
                  value: {{.Values.waitForResourcesTimeout | quote}}
                - name: REVISION
                  value: {{.Values.revision | quote}}
          {{- with .Values.nodeSelector }}
          nodeSelector:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Aug 25 19:10:42 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. istioctl/pkg/kubeinject/testdata/mesh-config.yaml

    ingressService: istio-ingress
    #
    defaultConfig:
      # NOTE: If you change any values in this section, make sure to make
      # the same changes in start up args in istio-ingress pods.
      #
      # TCP connection timeout between Envoy & the application, and between Envoys.
      connectTimeout: 1s
      #
      ### ADVANCED SETTINGS #############
      # Where should envoy's configuration be stored in the istio-proxy container
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. istioctl/pkg/xds/client.go

    	err = adscConn.Run()
    	if err != nil {
    		return nil, fmt.Errorf("ADSC: failed running %v", err)
    	}
    
    	err = adscConn.Send(dr)
    	if err != nil {
    		return nil, err
    	}
    	response, err := adscConn.WaitVersion(opts.Timeout, dr.TypeUrl, "")
    	return response, err
    }
    
    // DialOptions constructs gRPC dial options from command line configuration
    func DialOptions(opts clioptions.CentralControlPlaneOptions,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. istioctl/pkg/wait/wait_test.go

    			args:             strings.Split("--timeout 20ms virtual-service bar.default", " "),
    			wantException:    true,
    			expectedOutput:   "Error: timeout expired before resource networking.istio.io/v1alpha3/VirtualService/default/bar became effective on all sidecars\n",
    		},
    		{
    			execClientConfig: cannedResponseMap,
    			args:             strings.Split("--timeout 2s virtualservice foo.default", " "),
    			wantException:    false,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/testdata/routes/istio-gateway-http-route-prefix/configdump.json

             {
              "match": {
               "prefix": "/get",
               "case_sensitive": true
              },
              "route": {
               "cluster": "outbound|8000||httpbin.default.svc.cluster.local",
               "timeout": "0s",
               "retry_policy": {
                "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
                "num_retries": 2,
                "retry_host_predicate": [
                 {
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. cni/pkg/plugin/cnieventclient.go

    	c := &http.Client{
    		Transport: &http.Transport{
    			DialContext: func(_ context.Context, _, _ string) (net.Conn, error) {
    				return net.Dial("unix", address)
    			},
    		},
    		Timeout: 1000 * time.Millisecond,
    	}
    	eventC := CNIEventClient{
    		client: c,
    		url:    "http://unix" + path,
    	}
    	return eventC
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. common/config/.golangci.yml

    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    run:
      # Timeout for analysis, e.g. 30s, 5m.
      # Default: 1m
      timeout: 20m
      build-tags:
        - integ
        - integfuzz
    linters:
      disable-all: true
      enable:
        - errcheck
        - exportloopref
        - depguard
        - gocritic
        - gofumpt
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  10. istioctl/pkg/clioptions/central.go

    	XdsPodLabel string
    
    	// XdsPodPort is a port exposing XDS (typically 15010 or 15012)
    	XdsPodPort int
    
    	// CertDir is the local directory containing certificates
    	CertDir string
    
    	// Timeout is how long to wait before giving up on XDS
    	Timeout time.Duration
    
    	// InsecureSkipVerify skips client verification the server's certificate chain and host name.
    	InsecureSkipVerify bool
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
Back to top