- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 124 for copts (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/erasure-multipart.go
delete(userDefined, xhttp.AmzStorageClass) } if opts.WantChecksum != nil && opts.WantChecksum.Type.IsSet() { userDefined[hash.MinIOMultipartChecksum] = opts.WantChecksum.Type.String() userDefined[hash.MinIOMultipartChecksumType] = opts.WantChecksum.Type.ObjType() } modTime := opts.MTime if opts.MTime.IsZero() { modTime = UTCNow() }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
internal/http/listener.go
// * controls incoming connections only doing HTTP protocol func newHTTPListener(ctx context.Context, serverAddrs []string, opts TCPOptions) (listener *httpListener, listenErrs []error) { listeners := make([]net.Listener, 0, len(serverAddrs)) listenErrs = make([]error, len(serverAddrs)) if opts.Trace == nil { opts.Trace = func(msg string) {} // Noop if not defined. } // Unix listener with special TCP options.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.8K bytes - Click Count (0) -
cmd/erasure-multipart-conditional_test.go
// Since read quorum fails, we can't determine if object exists. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfNoneMatch: "*", }, CheckPrecondFn: func(oi ObjectInfo) bool { // Precondition fails if object exists (ETag is not empty) return oi.ETag != "" }, } _, err := obj.NewMultipartUpload(ctx, bucket, object, opts) if !isErrReadQuorum(err) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 6.9K bytes - Click Count (0) -
cmd/erasure-sets.go
func (s *erasureSets) DeleteObject(ctx context.Context, bucket string, object string, opts ObjectOptions) (objInfo ObjectInfo, err error) { if opts.DeletePrefix && !opts.DeletePrefixObject { err := s.deletePrefix(ctx, bucket, object) return ObjectInfo{}, err } set := s.getHashedSet(object) return set.DeleteObject(ctx, bucket, object, opts) } // DeleteObjects - bulk delete of objects
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
cmd/object-api-options_test.go
req := httptest.NewRequest("GET", "/test", nil) req.Header = testCase.headers opts, _ := getAndValidateAttributesOpts(ctx, rec, req, bucket, "testobject") if !reflect.DeepEqual(opts.ObjectAttributes, testCase.wantObjectAttrs) { t.Errorf("want opts %v, got %v", testCase.wantObjectAttrs, opts.ObjectAttributes) } }) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/extensions/s3zip/examples/minio-go/main.go
}) if err != nil { log.Fatalln(err) } var opts minio.GetObjectOptions // Add extract header to request: opts.Set("x-minio-extract", "true") // Download API.md from the archive rd, err := s3Client.GetObject(context.Background(), "your-bucket", "path/to/file.zip/data.csv", opts) if err != nil { log.Fatalln(err) } _, err = io.Copy(os.Stdout, rd) if err != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jun 14 18:04:14 GMT 2021 - 694 bytes - Click Count (0) -
internal/event/target/nats_tls_contrib_test.go
) func TestNatsConnTLSCustomCA(t *testing.T) { s, opts := natsserver.RunServerWithConfig(filepath.Join("testdata", "contrib", "nats_tls.conf")) defer s.Shutdown() clientConfig := &NATSArgs{ Enable: true, Address: xnet.Host{ Name: "localhost", Port: (xnet.Port(opts.Port)), IsPortSet: true, }, Subject: "test", Secure: true,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Apr 22 22:12:26 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/bucket/replication/rule_test.go
package replication import ( "bytes" "fmt" "testing" ) func TestMetadataReplicate(t *testing.T) { testCases := []struct { inputConfig string opts ObjectOpts expectedResult bool }{ // case 1 - rule with replica modification enabled; not a replica {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.6K bytes - Click Count (0) -
cmd/erasure-object_test.go
} res, err := objLayer.NewMultipartUpload(ctx, "bucket1", "mpartObj1", opts) if err != nil { t.Fatal(err) } fiveMBBytes := bytes.Repeat([]byte("a"), 5*humanize.MiByte) md5Hex := getMD5Hash(fiveMBBytes) _, err = objLayer.PutObjectPart(ctx, "bucket1", "mpartObj1", res.UploadID, 1, mustGetPutObjReader(t, bytes.NewReader(fiveMBBytes), 5*humanize.MiByte, md5Hex, ""), opts) if err != nil { t.Fatal(err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 38.3K bytes - Click Count (0) -
cmd/metrics-realtime.go
depID string } func collectLocalMetrics(types madmin.MetricType, opts collectMetricsOpts) (m madmin.RealtimeMetrics) { if types == madmin.MetricsNone { return m } byHostName := globalMinioAddr if len(opts.hosts) > 0 { server := getLocalServerProperty(globalEndpoints, &http.Request{ Host: globalLocalNodeName, }, false) if _, ok := opts.hosts[server.Endpoint]; ok { byHostName = server.Endpoint } else {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.3K bytes - Click Count (0)