Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestObjectSizeFilters (0.13 sec)

  1. internal/bucket/lifecycle/filter_test.go

    			}
    			err = filter.Validate()
    			if err != tc.expectedErr {
    				t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err)
    			}
    		})
    	}
    }
    
    func TestObjectSizeFilters(t *testing.T) {
    	f1 := Filter{
    		set: true,
    		Prefix: Prefix{
    			string: "doc/",
    			set:    true,
    			Unused: struct{}{},
    		},
    		ObjectSizeGreaterThan: 100 * humanize.MiByte,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top