Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for devknoll (0.3 sec)

  1. cni/pkg/nodeagent/ztunnelserver_test.go

    }
    
    func podAndNetns() (*v1.Pod, *fakeNs) {
    	devNull, err := os.Open(os.DevNull)
    	if err != nil {
    		panic(err)
    	}
    	// we can't close this now, because we need to pass it from the ztunnel server to the client
    	// it would leak, but this is a test, so we don't care
    	//	defer devNull.Close()
    
    	id := ztunnelTestCounter.Add(1)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. cmd/peer-rest-common.go

    	peerRESTMethodDownloadProfilingData = "/downloadprofilingdata"
    	peerRESTMethodSpeedTest             = "/speedtest"
    	peerRESTMethodDriveSpeedTest        = "/drivespeedtest"
    	peerRESTMethodDevNull               = "/devnull"
    	peerRESTMethodNetperf               = "/netperf"
    	peerRESTMethodGetReplicationMRF     = "/getreplicationmrf"
    )
    
    const (
    	peerRESTBucket         = "bucket"
    	peerRESTBuckets        = "buckets"
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    	adminAPIVersionPrefix          = SlashSeparator + adminAPIVersion
    	adminAPISiteReplicationDevNull = "/site-replication/devnull"
    	adminAPISiteReplicationNetPerf = "/site-replication/netperf"
    	adminAPIClientDevNull          = "/speedtest/client/devnull"
    	adminAPIClientDevExtraTime     = "/speedtest/client/devnull/extratime"
    )
    
    var gzipHandler = func() func(http.Handler) http.HandlerFunc {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    		}
    	}
    }
    
    // DevNull - everything goes to io.Discard
    func (s *peerRESTServer) DevNull(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("invalid request"))
    		return
    	}
    
    	globalNetPerfRX.Connect()
    	defer globalNetPerfRX.Disconnect()
    
    	connectTime := time.Now()
    	ctx := newContext(r, w, "DevNull")
    	for {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  5. cmd/peer-rest-client.go

    	if err != nil || resp == nil {
    		return DailyAllTierStats{}, err
    	}
    	return *resp, nil
    }
    
    // DevNull - Used by netperf to pump data to peer
    func (client *peerRESTClient) DevNull(ctx context.Context, r io.Reader) error {
    	respBody, err := client.callWithContext(ctx, peerRESTMethodDevNull, nil, r, -1)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  6. cmd/perf-tests.go

    			continue
    		}
    		go func(index int) {
    			for i := 0; i < connectionsPerPeer; i++ {
    				wg.Add(1)
    				go func() {
    					defer wg.Done()
    					err := globalNotificationSys.peerClients[index].DevNull(ctx, r)
    					if err != nil {
    						errStr = fmt.Sprintf("error with %s: %s", globalNotificationSys.peerClients[index].String(), err.Error())
    					}
    				}()
    			}
    		}(index)
    	}
    
    	time.Sleep(duration)
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. cmd/admin-handlers-site-replication.go

    		return
    	}
    	writeSuccessResponseJSON(w, body)
    }
    
    // SiteReplicationDevNull - everything goes to io.Discard
    // [POST] /minio/admin/v3/site-replication/devnull
    func (a adminAPIHandlers) SiteReplicationDevNull(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	globalSiteNetPerfRX.Connect()
    	defer globalSiteNetPerfRX.Disconnect()
    
    	connectTime := time.Now()
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19K bytes
    - Viewed (0)
  8. configure.py

      """Get the python site package paths."""
      python_paths = []
      if environ_cp.get('PYTHONPATH'):
        python_paths = environ_cp.get('PYTHONPATH').split(':')
      try:
        stderr = open(os.devnull, 'wb')
        library_paths = run_shell([
            python_bin_path, '-c',
            'import site; print("\\n".join(site.getsitepackages()))'
        ],
                                  stderr=stderr).split('\n')
    Python
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		return
    	}
    	enc := json.NewEncoder(w)
    	if err := enc.Encode(results); err != nil {
    		return
    	}
    }
    
    // ClientDevNullExtraTime - return extratime for last devnull
    // [POST] /minio/admin/v3/speedtest/client/devnull/extratime
    func (a adminAPIHandlers) ClientDevNullExtraTime(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  10. api/go1.1.txt

    pkg os (freebsd-amd64-cgo), const O_APPEND = 8
    pkg os (freebsd-amd64-cgo), const O_CREATE = 512
    pkg os (freebsd-amd64-cgo), const O_EXCL = 2048
    pkg os (freebsd-amd64-cgo), const O_SYNC = 128
    pkg os (freebsd-amd64-cgo), const O_TRUNC = 1024
    pkg os (freebsd-amd64-cgo), const PathListSeparator = 58
    pkg os (freebsd-amd64-cgo), const PathSeparator = 47
    pkg os (freebsd-arm), const DevNull = "/dev/null"
    Plain Text
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top