Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for match (0.28 sec)

  1. cmd/batch-expire_test.go

          createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date"
          tags:
            - key: name
              value: pick* # match objects with tag 'name', all values starting with 'pick'
          metadata:
            - key: content-type
              value: image/* # match objects with 'content-type', all values starting with 'image/'
          size:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    // operation should not proceed. Preconditions supported are:
    //
    //	x-amz-copy-source-if-modified-since
    //	x-amz-copy-source-if-unmodified-since
    //	x-amz-copy-source-if-match
    //	x-amz-copy-source-if-none-match
    func checkCopyObjectPartPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo) bool {
    	return checkCopyObjectPreconditions(ctx, w, r, objInfo)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    					continue
    				}
    
    				batch = append(batch, obj)
    
    				if len(batch) < *r.Source.Snowball.Batch {
    					continue
    				}
    				writeFn(batch)
    				batch = batch[:0]
    			}
    			writeFn(batch)
    			xioutil.SafeClose(slowCh)
    		}()
    	} else {
    		slowCh = walkCh
    	}
    
    	workerSize, err := strconv.Atoi(env.Get("_MINIO_BATCH_REPLICATION_WORKERS", strconv.Itoa(runtime.GOMAXPROCS(0)/2)))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. internal/etag/reader.go

    	sum := r.md5.Sum(nil)
    	return ETag(sum)
    }
    
    // VerifyError is an error signaling that a
    // computed ETag does not match an expected
    // ETag.
    type VerifyError struct {
    	Expected ETag
    	Computed ETag
    }
    
    func (v VerifyError) Error() string {
    	return fmt.Sprintf("etag: expected ETag %q does not match computed ETag %q", v.Expected, v.Computed)
    }
    
    // UUIDHash - use uuid to make md5sum
    type UUIDHash struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. cmd/batch-job-common-types.go

    func (kv BatchJobKV) Empty() bool {
    	return kv.Key == "" && kv.Value == ""
    }
    
    // Match matches input kv with kv, value will be wildcard matched depending on the user input
    func (kv BatchJobKV) Match(ikv BatchJobKV) bool {
    	if kv.Empty() {
    		return true
    	}
    	if strings.EqualFold(kv.Key, ikv.Key) {
    		return wildcard.Match(kv.Value, ikv.Value)
    	}
    	return false
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. docs/site-replication/run-sse-kms-object-replication.sh

    	echo "BUG: Algorithm: '${rep_obj1_algo}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_algo}'"
    	exit_1
    fi
    if [ "${rep_obj1_keyid}" != "${src_obj1_keyid}" ]; then
    	echo "BUG: KeyId: '${rep_obj1_keyid}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_keyid}'"
    	exit_1
    fi
    if [ "${rep_obj2_algo}" != "${src_obj2_algo}" ]; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. docs/site-replication/run-ssec-object-replication-with-compression.sh

    	echo "BUG: Etag: '${rep_obj1_etag}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_etag}'"
    	exit_1
    fi
    if [ "${rep_obj1_size}" != "${src_obj1_size}" ]; then
    	echo "BUG: Size: '${rep_obj1_size}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_size}'"
    	exit_1
    fi
    if [ "${rep_obj2_etag}" != "${src_obj2_etag}" ]; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. internal/arn/arn.go

    	}
    
    	if ps[2] != string(arnServiceIAM) {
    		err = errors.New("invalid ARN - bad service field")
    		return
    	}
    
    	// ps[3] is region and is not validated here. If the region is invalid,
    	// the ARN would not match any configured ARNs in the server.
    	if ps[4] != "" {
    		err = errors.New("invalid ARN - unsupported account-id field")
    		return
    	}
    
    	res := strings.SplitN(ps[5], "/", 2)
    	if len(res) != 2 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    		modTime  time.Time
    		days     ExpirationDays
    		expected time.Time
    	}{
    		{
    			time.Date(2020, time.March, 15, 10, 10, 10, 0, time.UTC),
    			4,
    			time.Date(2020, time.March, 20, 0, 0, 0, 0, time.UTC),
    		},
    		{
    			time.Date(2020, time.March, 15, 0, 0, 0, 0, time.UTC),
    			1,
    			time.Date(2020, time.March, 17, 0, 0, 0, 0, time.UTC),
    		},
    	}
    
    	for i, tc := range testCases {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  10. internal/kms/kes.go

    		return nil, err
    	}
    	return c.client.Encrypt(context.Background(), keyID, plaintext, ctxBytes)
    }
    
    // DecryptKey decrypts the ciphertext with the key at the KES
    // server referenced by the key ID. The context must match the
    // context value used to generate the ciphertext.
    func (c *kesClient) DecryptKey(keyID string, ciphertext []byte, ctx Context) ([]byte, error) {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top