Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for successfully (0.23 sec)

  1. cni/pkg/nodeagent/netns_linux.go

    		// switch to target namespace
    		if err = NetnsSet(fdable); err != nil {
    			return err
    		}
    		defer func() {
    			err := threadNS.Set() // switch back
    			if err == nil {
    				// Unlock the current thread only when we successfully switched back
    				// to the original namespace; otherwise leave the thread locked which
    				// will force the runtime to scrap the current thread, that is maybe
    				// not as optimal but at least always safe to do.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. operator/cmd/mesh/install.go

    			return fmt.Errorf("verification failed with the following error: %v", err)
    		}
    	}
    
    	// Post-install message
    	if profile == "ambient" {
    		p.Println("The ambient profile has been installed successfully, enjoy Istio without sidecars!")
    	}
    	return nil
    }
    
    // InstallManifests generates manifests from the given istiooperator instance and applies them to the
    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)
  3. cni/pkg/repair/repaircontroller.go

    		if c.cfg.InitContainerName != "" && container.Name != c.cfg.InitContainerName {
    			continue
    		}
    
    		// For safety, check the containers *current* status. If the container
    		// successfully exited, we NEVER want to identify this pod as broken.
    		// If the pod is going to fail, the failure state will show up in
    		// LastTerminationState eventually.
    		if state := container.State.Terminated; state != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. cni/pkg/install/kubeconfig_test.go

    				SkipTLSVerify:      c.skipTLSVerify,
    			}
    			result, err := createKubeConfig(cfg)
    			if err != nil {
    				if !c.expectedFailure {
    					t.Fatalf("did not expect failure: %v", err)
    				}
    				// Successful test case expecting failure
    				return
    			} else if c.expectedFailure {
    				t.Fatalf("expected failure")
    			}
    
    			goldenFilepath := "testdata/kubeconfig-tls"
    			if c.skipTLSVerify {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. istioctl/pkg/admin/istiodconfig.go

    	resp, err := c.httpClient.Get(c.baseURL.String())
    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		return nil, fmt.Errorf("request not successful %s", resp.Status)
    	}
    
    	err = json.NewDecoder(resp.Body).Decode(&scopeInfos)
    	if err != nil {
    		return nil, fmt.Errorf("cannot deserialize response %s", err)
    	}
    	return scopeInfos, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. cni/pkg/install/cniconfig_test.go

    					}
    					t.Fatal(err)
    				}
    				if result != expectedFilepath {
    					t.Fatalf("expected %s, got %s", expectedFilepath, result)
    				}
    				// Successful test case
    				return
    			}
    
    			// Handle chained CNI plugin cases
    			// Call with goroutine to test fsnotify watcher
    			parent, cancel := context.WithCancel(context.Background())
    			defer cancel()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    				return err
    			}
    			fmt.Printf("Configuration generation into directory %s was successful\n", outputDir)
    			return nil
    		},
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if len(internalIP) > 0 && len(externalIP) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top