Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for One (0.19 sec)

  1. cmd/api-errors.go

    	ErrInvalidPart: {
    		Code:           "InvalidPart",
    		Description:    "One or more of the specified parts could not be found.  The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingPart: {
    		Code:           "InvalidRequest",
    		Description:    "You must specify at least one part",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  2. cmd/signature-v4-utils.go

    }
    
    // Trim leading and trailing spaces and replace sequential spaces with one space, following Trimall()
    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    	// Compress adjacent spaces (a space is determined by
    	// unicode.IsSpace() internally here) to one space and return
    	return strings.Join(strings.Fields(input), " ")
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. internal/config/identity/openid/openid.go

    		},
    		config.KV{
    			Key:   KeyCloakRealm,
    			Value: "",
    		},
    		config.KV{
    			Key:   KeyCloakAdminURL,
    			Value: "",
    		},
    	}
    )
    
    var errSingleProvider = config.Errorf("Only one OpenID provider can be configured if not using role policy mapping")
    
    // DummyRoleARN is used to indicate that the user associated with it was
    // authenticated via policy-claim based OpenID provider.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  4. docs/sts/web-identity.md

    By default, the temporary security credentials created by AssumeRoleWithWebIdentity last for one hour. However, the optional DurationSeconds parameter can be used to specify the validity duration of the generated credentials. This value varies from 900 seconds (15 minutes) up to the maximum session duration of 365 days.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  5. cmd/object_api_suite_test.go

    func testNonExistentBucketOperations(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	var opts ObjectOptions
    	_, err := obj.PutObject(context.Background(), "bucket1", "object", mustGetPutObjReader(t, bytes.NewBufferString("one"), int64(len("one")), "", ""), opts)
    	if err == nil {
    		t.Fatal("Expected error but found nil")
    	}
    	if err.Error() != "Bucket not found: bucket1" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  6. internal/event/rules.go

    // Add - adds pattern and target ID.
    func (rules Rules) Add(pattern string, targetID TargetID) {
    	rules[pattern] = NewTargetIDSet(targetID).Union(rules[pattern])
    }
    
    // MatchSimple - returns true one of the matching object name in rules.
    func (rules Rules) MatchSimple(objectName string) bool {
    	for pattern := range rules {
    		if wildcard.MatchSimple(pattern, objectName) {
    			return true
    		}
    	}
    	return false
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. cmd/mrf.go

    }
    
    // mrfState sncapsulates all the information
    // related to the global background MRF.
    type mrfState struct {
    	opCh chan partialOperation
    }
    
    // Add a partial S3 operation (put/delete) when one or more disks are offline.
    func (m *mrfState) addPartialOp(op partialOperation) {
    	if m == nil {
    		return
    	}
    
    	select {
    	case m.opCh <- op:
    	default:
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-meta-inline.go

    		if string(found) == key {
    			vals = append(vals, value)
    			plSize += len(value)
    			replaced = true
    		} else {
    			vals = append(vals, foundVal)
    			plSize += len(foundVal)
    		}
    	}
    
    	// Add one more.
    	if !replaced {
    		keys = append(keys, []byte(key))
    		vals = append(vals, value)
    		plSize += len(key) + len(value) + msgp.StringPrefixSize + msgp.ArrayHeaderSize
    	}
    
    	// Reserialize...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    			if tt.expectedWriteQuorum != actualWriteQuorum {
    				t.Errorf("Expected Write Quorum %d, got %d", tt.expectedWriteQuorum, actualWriteQuorum)
    			}
    		})
    	}
    }
    
    // In some deployments, one object has data inlined in one disk and not inlined in other disks.
    func TestGetObjectInlineNotInline(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/rule.go

    }
    
    // validateStatus - checks if status is valid or not.
    func (r Rule) validateStatus() error {
    	// Status can't be empty
    	if len(r.Status) == 0 {
    		return errEmptyRuleStatus
    	}
    
    	// Status must be one of Enabled or Disabled
    	if r.Status != Enabled && r.Status != Disabled {
    		return errInvalidRuleStatus
    	}
    	return nil
    }
    
    func (r Rule) validateExpiration() error {
    	return r.Expiration.Validate()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top