Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Grocevs (0.15 sec)

  1. cni/pkg/repair/netns.go

    	best := ""
    	// We will iterate over all processes. Our goal is to find a process with the same network ID as we found above.
    	// There should be 1 or 2 processes that match: the pause container should always be there, and the istio-validation *might*.
    	// We want the pause container, as the istio-validation one may exit before we are done.
    	// We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. cmd/net.go

    // such as, ":9000", "localhost:9000", "http://localhost:9000/"
    func extractHostPort(hostAddr string) (string, string, error) {
    	var addr, scheme string
    
    	if hostAddr == "" {
    		return "", "", errors.New("unable to process empty address")
    	}
    
    	// Simplify the work of url.Parse() and always send a url with
    	if !strings.HasPrefix(hostAddr, "http://") && !strings.HasPrefix(hostAddr, "https://") {
    		hostAddr = "//" + hostAddr
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. internal/grid/handlers.go

    	StatelessHandler struct {
    		Handle StatelessHandlerFn
    		// OutCapacity is the output capacity on the caller.
    		// If <= 0 capacity will be 1.
    		OutCapacity int
    	}
    
    	// StreamHandlerFn must process a request with an optional initial payload.
    	// It must keep consuming from 'in' until it returns.
    	// 'in' and 'out' are independent.
    	// The handler should never close out.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest_shared_test.go

    	err := rootCmd.Execute()
    	return out.String(), err
    }
    
    // cleanTestCluster resets the test cluster.
    func cleanTestCluster() error {
    	// Needed in case we are running a test through this path that doesn't start a new process.
    	cache.FlushObjectCaches()
    	if !kubeBuilderInstalled() {
    		return nil
    	}
    	return recreateTestEnv()
    }
    
    // getAllIstioObjects lists all Istio GVK resources from the testClient.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  5. cni/pkg/nodeagent/net.go

    	if err := s.rescanPod(pod); err != nil {
    		log.Errorf("error scanning proc: error was %s", err)
    		return nil, err
    	}
    	// try again. we can still get here if the pod is in the process of being created.
    	// in this case the CNI will be invoked soon and provide us with the netns.
    	openNetns = s.currentPodSnapshot.Get(string(pod.UID))
    	if openNetns == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  6. cmd/peer-rest-server.go

    	info := madmin.GetOSInfo(context.Background(), globalLocalNodeName)
    	return madminOSInfo.NewJSONWith(&info), nil
    }
    
    // GetProcInfoHandler - returns this MinIO process information.
    func (s *peerRESTServer) GetProcInfoHandler(_ *grid.MSS) (*grid.JSON[madmin.ProcInfo], *grid.RemoteErr) {
    	info := madmin.GetProcInfo(context.Background(), globalLocalNodeName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  7. cmd/peer-rest-client.go

    	values.Set(peerRESTDepID, opts.depID)
    	v, err := getMetricsRPC.Call(ctx, client.gridConn(), grid.NewURLValuesWith(values))
    	return v.ValueOrZero(), err
    }
    
    // GetProcInfo - fetch MinIO process information for a remote node.
    func (client *peerRESTClient) GetProcInfo(ctx context.Context) (info madmin.ProcInfo, err error) {
    	resp, err := getProcInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  8. internal/grid/connection.go

    	}
    	if err != nil {
    		return err
    	}
    	// Signal that we are reconnected, update state and handle messages.
    	// Prevent other connections from connecting while we process.
    	c.reconnectMu.Lock()
    	if c.remoteID != nil {
    		c.reconnected()
    	}
    	rid := uuid.UUID(req.ID)
    	c.remoteID = &rid
    
    	// Handle incoming messages until disconnect.
    	c.handleMessages(ctx, conn)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    			if err := p.queueMRFHeal(); err != nil && !osIsNotExist(err) {
    				replLogIf(p.ctx, err)
    			}
    			pTimer.Reset(mrfQueueInterval)
    		case <-p.ctx.Done():
    			return
    		}
    	}
    }
    
    // process sends error logs to the heal channel for an attempt to heal replication.
    func (p *ReplicationPool) queueMRFHeal() error {
    	p.mrfMU.Lock()
    	defer p.mrfMU.Unlock()
    
    	if !p.initialized() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. internal/lock/lock_windows.go

    		return nil
    	}
    
    	err := lockFileEx(fd, flags, 1, 0, &syscall.Overlapped{})
    	if err == nil || err == errLockViolation {
    		return nil
    	}
    	if err.Error() == "The process cannot access the file because another process has locked a portion of the file." {
    		return ErrAlreadyLocked
    	}
    	return err
    }
    
    func lockFileEx(h syscall.Handle, flags, locklow, lockhigh uint32, ol *syscall.Overlapped) (err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top