Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFilterRules (0.06 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    			case !ok && tc.want > 0:
    				t.Fatal("Expected x-amz-expiration header to be set but not found")
    			}
    		})
    	}
    }
    
    func TestFilterRules(t *testing.T) {
    	rules := []Rule{
    		{
    			ID:     "rule-1",
    			Status: "Enabled",
    			Filter: Filter{
    				set: true,
    				Tag: Tag{
    					Key:   "key1",
    					Value: "val1",
    				},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top