Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getKeySeparator (0.25 sec)

  1. cmd/admin-heal-ops.go

    			ClientToken: "unknown",
    			StartTime:   UTCNow(),
    		}
    	} else {
    		clientToken := he.clientToken
    		if globalIsDistErasure {
    			clientToken = fmt.Sprintf("%s%s%d", he.clientToken, getKeySeparator(), GetProxyEndpointLocalIndex(globalProxyEndpoints))
    		}
    
    		hsp = madmin.HealStopSuccess{
    			ClientToken:   clientToken,
    			ClientAddress: he.clientAddress,
    			StartTime:     he.startTime,
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. cmd/bucket-listobjects-handlers.go

    	writeSuccessResponseXML(w, encodeResponseList(response))
    }
    
    func parseRequestToken(token string) (subToken string, nodeIndex int) {
    	if token == "" {
    		return token, -1
    	}
    	i := strings.Index(token, getKeySeparator())
    	if i < 0 {
    		return token, -1
    	}
    	nodeIndex, err := strconv.Atoi(token[i+1:])
    	if err != nil {
    		return token, -1
    	}
    	subToken = token[:i]
    	return subToken, nodeIndex
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    	if validUntil := time.Until(certificate.NotAfter); validUntil < expiry {
    		expiry = validUntil
    	}
    
    	// Associate any service accounts to the certificate CN
    	parentUser := "tls" + getKeySeparator() + certificate.Subject.CommonName
    
    	claims[expClaim] = UTCNow().Add(expiry).Unix()
    	claims[subClaim] = certificate.Subject.CommonName
    	claims[audClaim] = certificate.Subject.Organization
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    	compPadEncrypted = 256
    	// Disable compressed file indices below this size
    	compMinIndexSize = 8 << 20
    )
    
    // getkeyeparator - returns the separator to be used for
    // persisting on drive.
    //
    // - ":" is used on non-windows platforms
    // - "_" is used on windows platforms
    func getKeySeparator() string {
    	if runtime.GOOS == globalWindowsOSName {
    		return "_"
    	}
    	return ":"
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top