Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for mybucket (0.22 sec)

  1. cmd/erasure-healing-common_test.go

    				// Some disks don't have xl.meta.
    				errDiskNotFound, errFileNotFound, errFileNotFound,
    			},
    			_tamperBackend: corruptPart,
    		},
    	}
    
    	bucket := "bucket"
    	err = obj.MakeBucket(ctx, "bucket", MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("Failed to make a bucket %v", err)
    	}
    
    	object := "object"
    	data := bytes.Repeat([]byte("a"), smallFileThreshold*16)
    	z := obj.(*erasureServerPools)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  2. cmd/metrics-v3.go

    // of these paths returns a set of V3 metrics.
    //
    // Per-bucket metrics endpoints always start with /bucket and the bucket name is
    // appended to the path. e.g. if the collector path is /bucket/api, the endpoint
    // for the bucket "mybucket" would be /minio/metrics/v3/bucket/api/mybucket
    const (
    	apiRequestsCollectorPath collectorPath = "/api/requests"
    	apiBucketCollectorPath   collectorPath = "/bucket/api"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    	"github.com/minio/minio/internal/bucket/versioning"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v2/env"
    	"github.com/minio/pkg/v2/wildcard"
    	"github.com/minio/pkg/v2/workers"
    	"gopkg.in/yaml.v3"
    )
    
    // expire: # Expire objects that match a condition
    //   apiVersion: v1
    //   bucket: mybucket # Bucket where this batch job will expire matching objects from
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  4. cmd/bucket-replication-stats.go

    	return r.calculateBucketReplicationStats(bucket, bucketStats)
    }
    
    func (r *ReplicationStats) incQ(bucket string, sz int64, isDeleteRepl bool, opType replication.Type) {
    	r.qCache.Lock()
    	defer r.qCache.Unlock()
    	v, ok := r.qCache.bucketStats[bucket]
    	if !ok {
    		v = newInQueueStats(r.registry, bucket)
    	}
    	atomic.AddInt64(&v.nowBytes, sz)
    	atomic.AddInt64(&v.nowCount, 1)
    	r.qCache.bucketStats[bucket] = v
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers_test.go

    	}
    
    	testBucketLifecycle(obj, instanceType, bucketName, apiRouter, t, testCases)
    }
    
    // Test S3 Bucket lifecycle APIs
    func TestBucketLifecycle(t *testing.T) {
    	ExecObjectLayerAPITest(t, testBucketLifecycleHandlers, []string{"GetBucketLifecycle", "PutBucketLifecycle", "DeleteBucketLifecycle"})
    }
    
    // Simple tests of bucket lifecycle: PUT, GET, DELETE.
    // Tests are related and the order is important.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    			s3LogIf(ctx, err)
    			return opts, InvalidVersionID{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: vid,
    			}
    		}
    		if !versioned && !versionSuspended {
    			return opts, InvalidArgument{
    				Bucket: bucket,
    				Object: object,
    				Err:    fmt.Errorf("version-id specified %s but versioning is not enabled on %s", opts.VersionID, bucket),
    			}
    		}
    	}
    	return ObjectOptions{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    				}
    				err = objectAPI.MakeBucket(ctx, bucket, opts)
    				if err != nil {
    					rpt.SetStatus(bucket, fileName, err)
    					continue
    				}
    				v, _ := globalBucketMetadataSys.Get(bucket)
    				bucketMap[bucket] = &v
    			}
    
    			bucketMap[bucket].ObjectLockConfigXML = configData
    			bucketMap[bucket].ObjectLockConfigUpdatedAt = updatedAt
    			rpt.SetStatus(bucket, fileName, nil)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. cmd/bucket-object-lock.go

    	"net/http"
    
    	"github.com/minio/minio/internal/auth"
    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/replication"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // BucketObjectLockSys - map of bucket and retention configuration.
    type BucketObjectLockSys struct{}
    
    // Get - Get retention configuration.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. cmd/admin-heal-ops.go

    	})
    
    	for _, bucket := range buckets {
    		if err = h.healBucket(objAPI, bucket.Name, bucketsOnly); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    // healBucket - traverses and heals given bucket
    func (h *healSequence) healBucket(objAPI ObjectLayer, bucket string, bucketsOnly bool) error {
    	if err := h.queueHealTask(healSource{bucket: bucket}, madmin.HealItemBucket); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  10. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/get-bucket-quota").HandlerFunc(
    			adminMiddleware(adminAPI.GetBucketQuotaConfigHandler)).Queries("bucket", "{bucket:.*}")
    		// PutBucketQuotaConfig
    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/set-bucket-quota").HandlerFunc(
    			adminMiddleware(adminAPI.PutBucketQuotaConfigHandler)).Queries("bucket", "{bucket:.*}")
    
    		// Bucket replication operations
    		// GetBucketTargetHandler
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top