Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for correctly (0.25 sec)

  1. cmd/common-main.go

    }
    
    func loadRootCredentials() {
    	// At this point, either both environment variables
    	// are defined or both are not defined.
    	// Check both cases and authenticate them if correctly defined
    	var user, password string
    	var hasCredentials bool
    	//nolint:gocritic
    	if env.IsSet(config.EnvRootUser) && env.IsSet(config.EnvRootPassword) {
    		user = env.Get(config.EnvRootUser, "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  2. cmd/bucket-replication.go

    	// set defaults for replication action based on operation being performed - actual
    	// replication action can only be determined after stat on remote. This default is
    	// needed for updating replication metrics correctly when target is offline.
    	rAction := replicateMetadata
    
    	rinfo = replicatedTargetInfo{
    		Size:                  ri.ActualSize,
    		Arn:                   tgt.ARN,
    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)
  3. cmd/signature-v4.go

    func getSignature(signingKey []byte, stringToSign string) string {
    	return hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign)))
    }
    
    // Check to see if Policy is signed correctly.
    func doesPolicySignatureMatch(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// For SignV2 - Signature field will be valid
    	if _, ok := formValues[xhttp.AmzSignatureV2]; ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. cmd/metrics-v3-handler.go

    	return fmt.Sprintf("| `%s` | `%s` | %s | %s |\n", md.Name, md.Type, md.Help, labels)
    }
    
    // listMetrics - returns a handler that lists all the metrics that could be
    // returned for the requested path.
    //
    // FIXME: It currently only lists `minio_` prefixed metrics.
    func (h *metricsV3Server) listMetrics(path string) http.Handler {
    	// First collect all matching MetricsGroup's
    	matchingMG := make(map[collectorPath]*MetricsGroup)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    func objectQuorumFromMeta(ctx context.Context, partsMetaData []FileInfo, errs []error, defaultParityCount int) (objectReadQuorum, objectWriteQuorum int, err error) {
    	// There should be at least half correct entries, if not return failure
    	expectedRQuorum := len(partsMetaData) / 2
    	if defaultParityCount == 0 {
    		// if parity count is '0', we expected all entries to be present.
    		expectedRQuorum = len(partsMetaData)
    	}
    
    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)
  6. cmd/metacache-entries.go

    // len returns the number of objects and prefix dirs in m.
    func (m *metaCacheEntriesSorted) len() int {
    	if m == nil {
    		return 0
    	}
    	return len(m.o)
    }
    
    // entries returns the underlying objects as is currently represented.
    func (m *metaCacheEntriesSorted) entries() metaCacheEntries {
    	if m == nil {
    		return nil
    	}
    	return m.o
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. migrator/migrator.go

    		return nil // skip primary key
    	}
    	// By default, ColumnType's Unique is not affected by UniqueIndex, so we don't care about UniqueIndex.
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		// We're currently only receiving boolean values on `Unique` tag,
    		// so the UniqueConstraint name is fixed
    		constraint := m.DB.NamingStrategy.UniqueName(stmt.Table, field.DBName)
    		if unique && !field.Unique {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    	}
    	req.Header.Set("x-amz-content-sha256", hashedPayload)
    
    	// Add Content-Length
    	req.ContentLength = contentLength
    
    	return req, nil
    }
    
    // Various signature types we are supporting, currently
    // two main signature types.
    type signerType int
    
    const (
    	signerV2 signerType = iota
    	signerV4
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    			ReplicaSync:             "enable",
    			ExistingObjectReplicate: "enable",
    		}
    
    		switch {
    		case hasRule:
    			if ruleARN != opts.DestBucket {
    				// remove stale replication rule and replace rule with correct target ARN
    				if len(replicationConfig.Rules) > 1 {
    					err = replicationConfig.RemoveRule(opts)
    				} else {
    					replicationConfig = replication.Config{}
    				}
    				if err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. cmd/xl-storage.go

    	smallFileThreshold = 128 * humanize.KiByte // Optimized for NVMe/SSDs
    
    	// For hardrives it is possible to set this to a lower value to avoid any
    	// spike in latency. But currently we are simply keeping it optimal for SSDs.
    
    	// bigFileThreshold is the point where we add readahead to put operations.
    	bigFileThreshold = 128 * humanize.MiByte
    
    	// XL metadata file carries per object metadata.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top