- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Value (0.22 sec)
-
cmd/sts-handlers_test.go
}, nil }, RoleARN: roleARN, } value, err := webID.Retrieve() if err != nil { c.Fatalf("Expected to generate STS creds, got err: %#v", err) } // fmt.Printf("value: %#v\n", value) minioClient, err := minio.New(s.endpoint, &minio.Options{ Creds: cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken), Secure: s.secure,
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) -
cmd/iam.go
// // - if baseInterval=10s, then 5s <= waitInterval() < 15s // // - if baseInterval=10m, then 5m <= waitInterval() < 15m waitInterval := func() time.Duration { // Calculate a random value such that 0 <= value < baseInterval randAmt := time.Duration(r.Float64() * float64(baseInterval)) return baseInterval/2 + randAmt } var maxDurationSecondsForLog float64 = 5 timer := time.NewTimer(waitInterval())
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:28:16 GMT 2024 - 71.1K bytes - Viewed (1) -
cmd/api-errors.go
HTTPStatusCode: http.StatusBadRequest, }, ErrFilterValueInvalid: { Code: "InvalidArgument", Description: "Size of filter rule value cannot exceed 1024 bytes in UTF-8 representation", HTTPStatusCode: http.StatusBadRequest, }, ErrOverlappingConfigs: { Code: "InvalidArgument",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 91.4K bytes - Viewed (7) -
cmd/erasure-object.go
setIndex: er.setIndex, poolIndex: er.poolIndex, }) } return }() validResp := 0 totalResp := 0 // minDisks value is only to reduce the number of calls // to the disks; this value is not accurate because we do // not know the storage class of the object yet minDisks := 0 if p := globalStorageClass.GetParityForSC(""); p > -1 { minDisks = er.setDriveCount - p
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 77.2K bytes - Viewed (2) -
cmd/erasure-server-pool.go
} } var maxUsedPct int for _, disk := range zinfo { if disk == nil || disk.Total == 0 { continue } available += disk.Total - disk.Used // set maxUsedPct to the value from the disk with the least space percentage. if pctUsed := int(disk.Used * 100 / disk.Total); pctUsed > maxUsedPct { maxUsedPct = pctUsed } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 80.5K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
// Testing for negative value of maxKey, this should set maxKeys to listObjectsLimit (19). {"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true}, // Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (20). {"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], nil, true}, // Testing for trancated value (21-24).
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 11:07:40 GMT 2024 - 73.1K bytes - Viewed (0) -
cmd/test-utils_test.go
t.Fatal(failTestStr(anonTestStr, "error response bucket name differs from expected value")) } if actualError.Key != objectName { t.Fatal(failTestStr(anonTestStr, "error response object name differs from expected value")) } } // test for unknown auth case. anonReq.Body = readerTwo // Setting the `Authorization` header to a random value so that the signature falls into unknown auth case.
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) -
cmd/xl-storage.go
// Dealing with error returns from close() - 'man 2 close' // // A careful programmer will check the return value of close(), since it is quite possible that // errors on a previous write(2) operation are reported only on the final close() that releases // the open file descriptor. // // Failing to check the return value when closing a file may lead to silent loss of data. // This can especially be observed with NFS and with disk quota.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 84.7K bytes - Viewed (0) -
cmd/iam-store.go
// and bucket and returns only policies that currently exist in MinIO. If // bucketName is non-empty, additionally filters policies matching the bucket. // The first returned value is the list of currently existing policies, and the // second is their combined policy definition. func (store *IAMStoreSys) FilterPolicies(policyName string, bucketName string) (string, policy.Policy) { cache := store.rlock()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Apr 27 10:04:10 GMT 2024 - 75.2K bytes - Viewed (2) -
internal/bucket/lifecycle/lifecycle_test.go
`<LifecycleConfiguration><Rule><Filter><And><Prefix>foodir/</Prefix><Tag><Key>tag1</Key><Value>value1</Value></Tag><Tag><Key>tag2</Key><Value>value2</Value></Tag></And></Filter><Status>Enabled</Status><Expiration><Date>` + time.Now().Truncate(24*time.Hour).UTC().Add(-24*time.Hour).Format(time.RFC3339) + `</Date></Expiration></Rule><Rule><Filter><And><Prefix>abc/</Prefix><Tag><Key>tag2</Key><Value>value</Value></Tag></And></Filter><Status>Enabled</Status><Expiration><Date>` + time.Now().Truncate(2...
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)