Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 284 for To (0.15 sec)

  1. cni/pkg/nodeagent/net.go

    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	var ipsetAddrErrs []error
    
    	// For each pod IP
    	for _, pip := range podIPs {
    		// Add to host ipset
    		log.Debugf("adding pod %s probe to ipset %s with ip %s", pod.Name, hostsideProbeSet.Prefix, pip)
    		// Add IP/port combo to set. Note that we set Replace to true - a pod ip/port combo already being
    		// in the set is perfectly fine, and something we can always safely overwrite, so we will.
    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)
  2. cmd/signature-v4-utils_test.go

    	if owner {
    		t.Fatalf("Expected owner to be 'false', found %t", owner)
    	}
    
    	_, err = globalIAMSys.PolicyDBSet(ctx, ucreds.AccessKey, "consoleAdmin", regUser, false)
    	if err != nil {
    		t.Fatalf("unable to attach policy to credential, %s", err)
    	}
    
    	time.Sleep(4 * time.Second)
    
    	policies, err := globalIAMSys.PolicyDBGet(ucreds.AccessKey)
    	if err != nil {
    		t.Fatalf("unable to get policy to credential, %s", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    }
    
    // SplitFunc is the signature of the split function used to tokenize the
    // input. The arguments are an initial substring of the remaining unprocessed
    // data and a flag, atEOF, that reports whether the [Reader] has no more data
    // to give. The return values are the number of bytes to advance the input
    // and the next token to return to the user, if any, plus an error, if any.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common_test.go

    			onlineDisks, modTime, _ := listOnlineDisks(erasureDisks, partsMetadata, test.errs, rQuorum)
    			if !modTime.Equal(test.expectedTime) {
    				t.Fatalf("Expected modTime to be equal to %v but was found to be %v",
    					test.expectedTime, modTime)
    			}
    			availableDisks, newErrs, _ := disksWithAllParts(ctx, onlineDisks, partsMetadata,
    				test.errs, fi, bucket, object, madmin.HealDeepScan)
    			test.errs = newErrs
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  5. cmd/sftp-server.go

    			}
    			if port < 1 || port > 65535 {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s, (port number must be between 1 to 65535)", arg), "unable to start SFTP server")
    			}
    			publicIP = host
    		case "ssh-private-key":
    			sshPrivateKey = tokens[1]
    		case "pub-key-algos":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    		toDel         []expireObjInfo
    	)
    	for result := range results {
    		// Apply filter to find the matching rule to apply expiry
    		// actions accordingly.
    		// nolint:gocritic
    		if result.IsLatest {
    			// send down filtered entries to be deleted using
    			// DeleteObjects method
    			if len(toDel) > 10 { // batch up to 10 objects/versions to be expired simultaneously.
    				xfer := make([]expireObjInfo, len(toDel))
    				copy(xfer, toDel)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. tests/upsert_test.go

    		t.Errorf("Failed to create, got error %v", err)
    	}
    
    	var result Language
    	if err := DB.First(&result, "code = ?", lang.Code).Error; err != nil {
    		t.Errorf("Failed to query lang, got error %v", err)
    	} else {
    		AssertEqual(t, result, lang)
    	}
    
    	lang.Name += "_new"
    	if err := DB.Save(&lang).Error; err != nil {
    		t.Errorf("Failed to create, got error %v", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Sep 05 07:39:19 GMT 2022
    - 11.4K bytes
    - Viewed (0)
  8. cmd/admin-heal-ops.go

    	Items []madmin.HealResultItem `json:"Items"`
    }
    
    // structure to hold state of all heal sequences in server memory
    type allHealState struct {
    	sync.RWMutex
    
    	// map of heal path to heal sequence
    	healSeqMap map[string]*healSequence // Indexed by endpoint
    	// keep track of the healing status of disks in the memory
    	//   false: the disk needs to be healed but no healing routine is started
    	//    true: the disk is currently healing
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  9. internal/grid/handlers.go

    	// Channel will be closed after error or when remote closes.
    	// responses *must* be read to either an error is returned or the channel is closed.
    	responses *Stream
    	newResp   func() Resp
    
    	// Requests sent to the server.
    	// If the handler is defined with 0 incoming capacity this will be nil.
    	// Channel *must* be closed to signal the end of the stream.
    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)
  10. cmd/erasure-metadata.go

    	// from latestFileInfo to get the quorum
    	return dataBlocks, writeQuorum, nil
    }
    
    const (
    	tierFVID     = "tier-free-versionID"
    	tierFVMarker = "tier-free-marker"
    	tierSkipFVID = "tier-skip-fvid"
    )
    
    // SetTierFreeVersionID sets free-version's versionID. This method is used by
    // object layer to pass down a versionID to set for a free-version that may be
    // created.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top