Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for One (0.12 sec)

  1. 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)
  2. cmd/object-api-errors.go

    type InvalidUploadID struct {
    	Bucket   string
    	Object   string
    	UploadID string
    }
    
    func (e InvalidUploadID) Error() string {
    	return "Invalid upload id " + e.UploadID
    }
    
    // InvalidPart One or more of the specified parts could not be found
    type InvalidPart struct {
    	PartNumber int
    	ExpETag    string
    	GotETag    string
    }
    
    func (e InvalidPart) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    		if err != nil {
    			return nil, err
    		}
    		if i > 0 {
    			res = append(res, ',')
    		}
    		s := fmt.Sprintf(`"%s": {"bytes": %d`, string(key), len(val))
    		// Check bitrot... We should only ever have one block...
    		if len(val) >= 32 {
    			want := val[:32]
    			data := val[32:]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  4. cmd/erasure-server-pool-rebalance.go

    	EndTime   time.Time   `msg:"stopTs"`  // Time at which rebalance operation completed or rebalance-stop was called
    	Status    rebalStatus `msg:"status"`  // Current state of rebalance operation. One of Started|Stopped|Completed|Failed.
    }
    
    // rebalanceMeta contains information pertaining to an ongoing rebalance operation.
    type rebalanceMeta struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. internal/event/target/kafka.go

    		msg, err := target.toProducerMessage(eventData)
    		if err != nil {
    			return err
    		}
    		if err = target.batch.Add(key.Name, msg); err != nil {
    			return err
    		}
    	}
    	// commit the batch if the key is the last one present in the store.
    	if key.IsLast || target.batch.IsFull() {
    		return target.commitBatch()
    	}
    	return nil
    }
    
    func (target *KafkaTarget) commitBatch() error {
    	keys, msgs, err := target.batch.GetAll()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. internal/grid/types.go

    func (j *Array[T]) Value() []T {
    	if j.val == nil {
    		j.val = j.p.newA(10)
    	}
    	return j.val
    }
    
    // Append a value to the underlying array.
    // The returned Array is always the same as the one called.
    func (j *Array[T]) Append(v ...T) *Array[T] {
    	if j.val == nil {
    		j.val = j.p.newA(uint32(len(v)))
    	}
    	j.val = append(j.val, v...)
    	return j
    }
    
    // Set the underlying value.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. cmd/bucket-targets.go

    		ResetID:             tcfg.ResetID,
    		Endpoint:            tcfg.Endpoint,
    		Secure:              tcfg.Secure,
    	}
    	return tc, nil
    }
    
    // getRemoteARN gets existing ARN for an endpoint or generates a new one.
    func (sys *BucketTargetSys) getRemoteARN(bucket string, target *madmin.BucketTarget, deplID string) (arn string, exists bool) {
    	if target == nil {
    		return
    	}
    	sys.RLock()
    	defer sys.RUnlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  8. helm/minio/values.yaml

      privateKey: private.key
    
    ## Trusted Certificates Settings for MinIO. Ref: https://min.io/docs/minio/linux/operations/network-encryption.html#third-party-certificate-authorities
    ## Bundle multiple trusted certificates into one secret and pass that here. Ref: https://github.com/minio/minio/tree/master/docs/tls/kubernetes#2-create-kubernetes-secret
    ## When using self-signed certificates, remember to include MinIO's own certificate in the bundle with key public.crt.
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  9. cmd/post-policy_test.go

    	// Add the bucket condition, only accept buckets equal to the one passed.
    	bucketConditionStr := fmt.Sprintf(`["eq", "$bucket", "%s"]`, bucketName)
    	// Add the key condition, only accept keys equal to the one passed.
    	keyConditionStr := fmt.Sprintf(`["starts-with", "$key", "%s/upload.txt"]`, objectKey)
    
    	// Combine all conditions into one string.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. cmd/admin-handlers-config-kv.go

    	}
    
    	// Write the config input KV to history.
    	err = saveServerConfigHistory(ctx, objectAPI, kvBytes)
    	return
    }
    
    // GetConfigKVHandler - GET /minio/admin/v3/get-config-kv?key={key}
    //
    // `key` can be one of three forms:
    // 1. `subsys:target` -> request for config of a single subsystem and target pair.
    // 2. `subsys:` -> request for config of a single subsystem and the default target.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top