- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getAndValidateAttributesOpts (0.32 sec)
-
cmd/object-api-options_test.go
import ( "net/http" "net/http/httptest" "reflect" "testing" xhttp "github.com/minio/minio/internal/http" ) // TestGetAndValidateAttributesOpts is currently minimal and covers a subset of getAndValidateAttributesOpts(), // it is intended to be expanded when the function is worked on in the future. func TestGetAndValidateAttributesOpts(t *testing.T) { globalBucketVersioningSys = &BucketVersioningSys{} bucket := minioMetaBucket
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 2.4K bytes - Viewed (0) -
cmd/object-api-options.go
opts.Versioned = globalBucketVersioningSys.PrefixEnabled(bucket, object) opts.VersionSuspended = globalBucketVersioningSys.PrefixSuspended(bucket, object) return opts, nil } func getAndValidateAttributesOpts(ctx context.Context, w http.ResponseWriter, r *http.Request, bucket, object string) (opts ObjectOptions, valid bool) { var argumentName string var argumentValue string var apiErr APIError var err error
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 14.3K bytes - Viewed (0) -
cmd/object-handlers.go
} // GetObjectAttributes ... func (api objectAPIHandlers) getObjectAttributesHandler(ctx context.Context, objectAPI ObjectLayer, bucket, object string, w http.ResponseWriter, r *http.Request) { opts, valid := getAndValidateAttributesOpts(ctx, w, r, bucket, object) if !valid { return } var s3Error APIErrorCode if opts.VersionID != "" {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 120.6K bytes - Viewed (0)