Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for failed (0.16 sec)

  1. cni/pkg/plugin/plugin_test.go

    	conf, err := parseConfig(args.StdinData)
    	if err != nil {
    		t.Fatalf("config parse failed with error: %v", err)
    	}
    
    	// Create a kube client
    	client := kube.NewFakeClient(objects...)
    
    	mockRedir := &mockInterceptRuleMgr{}
    	err = doAddRun(args, conf, client.Kube(), mockRedir)
    	if err != nil {
    		t.Fatalf("failed with error: %v", err)
    	}
    
    	return mockRedir
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    		pi, k8sErr = getK8sPodInfo(kClient, podName, podNamespace)
    		if k8sErr == nil {
    			break
    		}
    		log.Debugf("Failed to get %s/%s pod info: %v", podNamespace, podName, k8sErr)
    		time.Sleep(podRetrievalInterval)
    	}
    	if k8sErr != nil {
    		log.Errorf("Failed to get %s/%s pod info: %v", podNamespace, podName, k8sErr)
    		return k8sErr
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint.go

    	} else if err != nil {
    		return fmt.Errorf("failed to get namespace %s: %v", ns, err)
    	}
    	if nsObj.Labels == nil {
    		nsObj.Labels = map[string]string{}
    	}
    	nsObj.Labels[constants.AmbientUseWaypointLabel] = waypointName
    	if _, err := kubeClient.Kube().CoreV1().Namespaces().Update(context.Background(), nsObj, metav1.UpdateOptions{}); err != nil {
    		return fmt.Errorf("failed to update namespace %s: %v", ns, err)
    	}
    	return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables.go

    		return err
    	}
    
    	if err := cfg.addInpodMarkIPRule(); err != nil {
    		return err
    	}
    
    	log.Debug("Adding iptables rules")
    	if err := cfg.executeCommands(builder); err != nil {
    		log.Errorf("failed to restore iptables rules: %v", err)
    		return err
    	}
    
    	return nil
    }
    
    func (cfg *IptablesConfigurator) appendInpodRules(hostProbeSNAT *netip.Addr) *builder.IptablesRuleBuilder {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. cmd/common-main.go

    	}
    	defer root.Close()
    
    	files, err := root.Readdir(-1)
    	if err != nil {
    		return nil, nil, false, err
    	}
    	for _, file := range files {
    		// Ignore all
    		// - regular files
    		// - "CAs" directory
    		// - any directory which starts with ".."
    		if file.Mode().IsRegular() || file.Name() == "CAs" || strings.HasPrefix(file.Name(), "..") {
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. CONTRIBUTING.md

    This includes adding the description of the changes to the `accepted-public-api-changes.json` file, and providing a reason for each change.
    You can add the changes to any place in the file, e.g. at the top.
    
    3. Make sure the file with accepted changes is sorted.\
    Use the `./gradlew :architecture-test:sortAcceptedApiChanges` task to sort the file.
    
    4. Validate your changes before committing.\
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. cmd/object-api-errors.go

    func isErrSignatureDoesNotMatch(err error) bool {
    	var signatureDoesNotMatch SignatureDoesNotMatch
    	return errors.As(err, &signatureDoesNotMatch)
    }
    
    // PreConditionFailed - Check if copy precondition failed
    type PreConditionFailed struct{}
    
    func (e PreConditionFailed) Error() string {
    	return "At least one of the pre-conditions you specified did not hold"
    }
    
    func isErrPreconditionFailed(err error) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. internal/logger/logger.go

    	var trace []string
    	pc, file, lineNumber, ok := runtime.Caller(traceLevel)
    
    	for ok && file != "" {
    		// Clean up the common prefixes
    		file = trimTrace(file)
    		// Get the function name
    		_, funcName := filepath.Split(runtime.FuncForPC(pc).Name())
    		// Skip duplicate traces that start with file name, "<autogenerated>"
    		// and also skip traces with function name that starts with "runtime."
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top