Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cmdtesting (0.1 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    func createReactor(tracker cgotesting.ObjectTracker) func(action cgotesting.Action) (handled bool, ret apiruntime.Object, err error) {
    	var uidCounter int
    	var resourceVersionCounter int
    	var mutex sync.Mutex
    
    	return func(action cgotesting.Action) (handled bool, ret apiruntime.Object, err error) {
    		createAction, ok := action.(cgotesting.CreateAction)
    		if !ok {
    			return false, nil, nil
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  2. cni/pkg/iptables/iptables.go

    	var data string
    
    	if isIpv4 {
    		data = iptablesBuilder.BuildV4Restore()
    	} else {
    		data = iptablesBuilder.BuildV6Restore()
    	}
    
    	log.Infof("Running %s with the following input:\n%v", iptVer.CmdToString(cmd), strings.TrimSpace(data))
    	// --noflush to prevent flushing/deleting previous contents from table
    	return cfg.ext.Run(cmd, iptVer, strings.NewReader(data), "--noflush", "-v")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/capture/run.go

    	if isIpv4 {
    		data = cfg.ruleBuilder.BuildV4Restore()
    	} else {
    		data = cfg.ruleBuilder.BuildV6Restore()
    	}
    
    	log.Infof("Running iptables restore with: %s and the following input:\n%v", iptVer.CmdToString(constants.IPTablesRestore), strings.TrimSpace(data))
    	// --noflush to prevent flushing/deleting previous contents from table
    	return cfg.ext.Run(constants.IPTablesRestore, iptVer, strings.NewReader(data), "--noflush")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
Back to top