Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ntag2 (0.12 sec)

  1. docs/bucket/replication/setup_ilm_expiry_replication.sh

    	echo "BUG: Transition rule on sitea seems to be overwritten"
    	exit 1
    fi
    
    ## Check replication of edit of prefix, tags and status of ILM Expiry Rules
    ./mc ilm rule edit --id "${id}" --prefix "newprefix" --tags "ntag1=nval1&ntag2=nval2" --disable sitea/bucket
    sleep 30s
    
    nprefix=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Prefix' | sed 's/"//g')
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs/bucket/versioning/versioning-tests.sh

    etag1=$(./mc cat sitea/testbucket/file | md5sum --tag | awk {'print $4'})
    
    ./mc cp --quiet --storage-class "STANDARD" sitea/testbucket/file sitea/testbucket/file
    etag2=$(./mc cat sitea/testbucket/file | md5sum --tag | awk {'print $4'})
    if [ $etag1 != $etag2 ]; then
    	echo "expected $etag1, got $etag2"
    	exit 1
    fi
    
    echo "SUCCESS:"
    ./mc ls --versions sitea/delissue --insecure
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 09:50:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/rule.go

    		return p
    	}
    	return ""
    }
    
    // Tags - a rule can either have tag under <filter></filter> or under
    // <filter><and></and></filter>. This method returns all the tags from the
    // rule in the format tag1=value1&tag2=value2
    func (r Rule) Tags() string {
    	if !r.Filter.Tag.IsEmpty() {
    		return r.Filter.Tag.String()
    	}
    	if len(r.Filter.And.Tags) != 0 {
    		var buf bytes.Buffer
    		for _, t := range r.Filter.And.Tags {
    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)
  4. internal/bucket/lifecycle/lifecycle_test.go

    			objectTags:     "tag1=value1&tag2=value2",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: DeleteAction,
    		},
    		// Should remove (Multiple Rules, Tags match)
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top