Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for exp (5.97 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    	// The earlier upcoming lifecycle event must be picked, i.e rule with id "Transition-10"
    	if exp := ExpectedExpiryTime(opts.ModTime, 10); exp != event.Due {
    		t.Fatalf("Expected due %v but got %v, ruleID=%v", exp, event.Due, event.RuleID)
    	}
    
    	// DelMarkerExpiration
    	lc = Lifecycle{
    		Rules: []Rule{
    			{
    				ID:     "delmarker-exp-20",
    				Status: "Enabled",
    				DelMarkerExpiration: DelMarkerExpiration{
    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)
  2. cmd/test-utils_test.go

    	}
    	if len(partSizes) > 1 {
    		asMultipart = true
    	}
    
    	checkRespErr := func(rec *httptest.ResponseRecorder, exp int) {
    		t.Helper()
    		if rec.Code != exp {
    			b, err := io.ReadAll(rec.Body)
    			t.Fatalf("Expected: %v, Got: %v, Body: %s, err: %v", exp, rec.Code, string(b), err)
    		}
    	}
    
    	if !asMultipart {
    		srcData := NewDummyDataGen(partSizes[0], 0)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    					return
    				}
    			}
    		}
    	}
    }
    
    func addExpirationToCondValues(exp *time.Time, condValues map[string][]string) {
    	if exp == nil {
    		return
    	}
    	condValues["DurationSeconds"] = []string{strconv.FormatInt(int64(exp.Sub(time.Now()).Seconds()), 10)}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  4. go.sum

    golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
    golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
    golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f h1:99ci1mjWVBWwJiEKYY6jWa4d2nTQVIEhZIptnrVb1XY=
    golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f/go.mod h1:/lliqkxwWAhPjf5oSOIJup2XcqJaw8RGS6k3TGEc7GI=
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 84.2K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    	"github.com/minio/madmin-go/v3"
    	minio "github.com/minio/minio-go/v7"
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    	"github.com/minio/minio-go/v7/pkg/set"
    	ldap "github.com/minio/pkg/v2/ldap"
    	"golang.org/x/exp/slices"
    )
    
    func runAllIAMSTSTests(suite *TestSuiteIAM, c *check) {
    	suite.SetUpSuite(c)
    	// The STS for root test needs to be the first one after setup.
    	suite.TestSTSForRoot(c)
    	suite.TestSTS(c)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top