Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for makeBucket (0.1 sec)

  1. cmd/post-policy_test.go

    	curTime := UTCNow()
    	curTimePlus5Min := curTime.Add(time.Minute * 5)
    
    	// bucketnames[0].
    	// objectNames[0].
    	// uploadIds [0].
    	// Create bucket before initiating NewMultipartUpload.
    	err := obj.MakeBucket(context.Background(), bucketName, MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Test cases for signature-V2.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. cmd/sftp-server-driver.go

    	case "Mkdir":
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			return errors.New("bucket name cannot be empty")
    		}
    
    		if prefix == "" {
    			return clnt.MakeBucket(context.Background(), bucket, minio.MakeBucketOptions{Region: globalSite.Region()})
    		}
    
    		dirPath := buildMinioDir(prefix)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    try {
                        final MakeBucketArgs args = MakeBucketArgs.builder().bucket(fessConfig.getStorageBucket()).build();
                        minioClient.makeBucket(args);
                        logger.info("Created bucket: {}", fessConfig.getStorageBucket());
                    } catch (final Exception e1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	StorageInfo(ctx context.Context, metrics bool) StorageInfo
    	LocalStorageInfo(ctx context.Context, metrics bool) StorageInfo
    
    	// Bucket operations.
    	MakeBucket(ctx context.Context, bucket string, opts MakeBucketOptions) error
    	GetBucketInfo(ctx context.Context, bucket string, opts BucketOptions) (bucketInfo BucketInfo, err error)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    		// in a federated setup cannot be proxied, so serve them at
    		// current server.
    		if bucket == "" {
    			h.ServeHTTP(w, r)
    			return
    		}
    
    		// MakeBucket requests should be handled at current endpoint
    		if r.Method == http.MethodPut && bucket != "" && object == "" && r.URL.RawQuery == "" {
    			h.ServeHTTP(w, r)
    			return
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    		if firstErr == nil {
    			firstErr = ctx.Err()
    		}
    		defer mu.Unlock()
    	}
    	return firstErr
    }
    
    // MakeBucket - creates a new bucket across all serverPools simultaneously
    // even if one of the sets fail to create buckets, we proceed all the successful
    // operations.
    func (z *erasureServerPools) MakeBucket(ctx context.Context, bucket string, opts MakeBucketOptions) error {
    	// Verify if bucket is valid.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    			// exists elsewhere
    			if err == dns.ErrNoEntriesFound || err == dns.ErrNotImplemented {
    				// Proceed to creating a bucket.
    				if err = objectAPI.MakeBucket(ctx, bucket, opts); err != nil {
    					writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    					return
    				}
    
    				if err = globalDNSConfig.Put(bucket); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    	// pools.
    	for _, metaBucket := range []string{
    		pathJoin(minioMetaBucket, minioConfigPrefix),
    		pathJoin(minioMetaBucket, bucketMetaPrefix),
    	} {
    		var bucketExists BucketExists
    		if err = z.MakeBucket(ctx, metaBucket, MakeBucketOptions{}); err != nil {
    			if !errors.As(err, &bucketExists) {
    				return err
    			}
    		}
    	}
    
    	z.poolMetaMutex.Lock()
    	defer z.poolMetaMutex.Unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. helm-releases/minio-5.0.2.tgz

    { { - if .Values.tls.enabled } } - name: cert-secret-volume-mc secret: secretName: { { .Values.tls.certSecret } } items: - key: { { .Values.tls.publicCrt } } path: CAs/public.crt { { end } } containers: { { - if .Values.buckets } } - name: minio-makeBucket image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}" { { - if .Values.makeBucketJob.securityContext.enabled } } securityContext: runAsUser: { { .Values.makeBucketJob.securityContext.runAsUser } } runAsGroup: { { .Values.makeBucke...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Dec 18 07:57:10 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    			prevResult = result
    			w.(http.Flusher).Flush()
    		}
    	}
    }
    
    func makeObjectPerfBucket(ctx context.Context, objectAPI ObjectLayer, bucketName string) (bucketExists bool, err error) {
    	if err = objectAPI.MakeBucket(ctx, bucketName, MakeBucketOptions{VersioningEnabled: globalSiteReplicationSys.isEnabled()}); err != nil {
    		if _, ok := err.(BucketExists); !ok {
    			// Only BucketExists error can be ignored.
    			return false, err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top