Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for canceled (0.16 sec)

  1. cni/test/install_cni.go

    	viper.Set(constants.MonitoringPort, 0)
    	viper.Set(constants.LogUDSAddress, "")
    	viper.Set(constants.RepairEnabled, false)
    
    	ctx, cancel := context.WithCancel(context.Background())
    	wg := sync.WaitGroup{}
    	wg.Add(1)
    	defer func() {
    		cancel()
    		wg.Wait()
    	}()
    	go func() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. cni/pkg/install/install.go

    }
    
    // sleepWatchInstall blocks until any file change for the binaries or config are detected.
    // At that point, the func yields so the caller can recheck the validity of the install.
    // If an error occurs or context is canceled, the function will return an error.
    func (in *Installer) sleepWatchInstall(ctx context.Context, installedBinFiles sets.String) error {
    	// Watch our specific binaries, in each configured binary dir.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  3. cni/pkg/install/install_test.go

    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			// Create temp directory for files
    			tempDir := t.TempDir()
    
    			// Initialize parameters
    			ctx, cancel := context.WithCancel(context.Background())
    			defer cancel()
    			cfg := &config.InstallConfig{
    				MountedCNINetDir: tempDir,
    				ChainedCNIPlugin: c.chainedCNIPlugin,
    			}
    			cniConfigFilepath := filepath.Join(tempDir, c.cniConfigFilename)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver_test.go

    var ztunnelTestCounter atomic.Uint32
    
    func TestZtunnelSendsPodSnapshot(t *testing.T) {
    	ztunnelKeepAliveCheckInterval = time.Second / 10
    	mt := monitortest.New(t)
    	setupLogging()
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	fixture := connect(ctx)
    	ztunClient := fixture.ztunClient
    	uid := fixture.uid
    
    	m, fds := readRequest(t, ztunClient)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/testdata/routes/k8s-gateway-http-route-path-prefix/configdump.json

              "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": [
                 {
                  "name": "envoy.retry_host_predicates.previous_hosts",
                  "typed_config": {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 3.1K bytes
    - Viewed (1)
  6. operator/cmd/mesh/operator-remove.go

    		message = "Istio operator revision " + orArgs.revision + " will be removed from cluster, Proceed? (y/N)"
    	}
    	if !orArgs.skipConfirmation && !args.DryRun && !Confirm(message, cmd.OutOrStdout()) {
    		cmd.Print("Cancelled.\n")
    		os.Exit(1)
    	}
    
    	l.LogAndPrintf("Removing Istio operator...")
    	// Create an empty IOP for the purpose of populating revision. Apply code requires a non-nil IOP.
    	var iop *iopv1alpha1.IstioOperator
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/batch/v1beta1/generated.proto

      // Valid values are:
      //
      // - "Allow" (default): allows CronJobs to run concurrently;
      // - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet;
      // - "Replace": cancels currently running job and replaces it with a new one
      // +optional
      optional string concurrencyPolicy = 3;
    
      // This flag tells the controller to suspend subsequent executions, it does
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. operator/cmd/mesh/install.go

    		prompt := fmt.Sprintf("This will install the Istio %s %q profile (with components: %s) into the cluster. Proceed? (y/N)",
    			tag, profile, humanReadableJoin(enabledComponents))
    		if !Confirm(prompt, stdOut) {
    			p.Println("Cancelled.")
    			os.Exit(1)
    		}
    	}
    
    	iop.Name = savedIOPName(iop)
    
    	// Detect whether previous installation exists prior to performing the installation.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  9. common-protos/k8s.io/api/batch/v1/generated.proto

      // Valid values are:
      //
      // - "Allow" (default): allows CronJobs to run concurrently;
      // - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet;
      // - "Replace": cancels currently running job and replaces it with a new one
      // +optional
      optional string concurrencyPolicy = 3;
    
      // This flag tells the controller to suspend subsequent executions, it does
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net_test.go

    			UID:       "123",
    		},
    		Spec: corev1.PodSpec{
    			Containers: containers,
    		},
    		Status: podStatus,
    	}
    }
    
    func TestServerAddPod(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	setupLogging()
    	fixture := getTestFixure(ctx)
    	netServer := fixture.netServer
    	ztunnelServer := fixture.ztunnelServer
    	podMeta := metav1.ObjectMeta{
    		Name:      "foo",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
Back to top