Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 276 for mybucket (0.16 sec)

  1. 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)
  2. cmd/bucket-metadata-sys.go

    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			return nil, time.Time{}, BucketSSEConfigNotFound{Bucket: bucket}
    		}
    		return nil, time.Time{}, err
    	}
    	if meta.sseConfig == nil {
    		return nil, time.Time{}, BucketSSEConfigNotFound{Bucket: bucket}
    	}
    	return meta.sseConfig, meta.EncryptionConfigUpdatedAt, nil
    }
    
    // CreatedAt returns the time of creation of bucket
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. cmd/bucket-stats.go

    		idx := (l.LastMin + 1) % 60
    		l.Totals[idx] = AccElem{}
    		l.LastMin++
    	}
    }
    
    // BucketStatsMap captures bucket statistics for all buckets
    type BucketStatsMap struct {
    	Stats     map[string]BucketStats
    	Timestamp time.Time
    }
    
    // BucketStats bucket statistics
    type BucketStats struct {
    	Uptime           int64                  `json:"uptime"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  4. docs/bucket/replication/HEAD_bucket_replication.png

    HEAD_bucket_replication.png...
    PNG Image
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jan 15 23:22:55 GMT 2021
    - 21.9K bytes
    - Viewed (0)
  5. cmd/bucket-replication-metrics.go

    			atomic.AddUint64(&p.srProxyStats.GetFailedTotal, 1)
    		}
    	default:
    		return
    	}
    	p.bucketStats[bucket] = v
    }
    
    func (p *proxyStatsCache) getBucketStats(bucket string) ProxyMetric {
    	p.RLock()
    	defer p.RUnlock()
    	v, ok := p.bucketStats[bucket]
    
    	if !ok {
    		return ProxyMetric{}
    	}
    	return ProxyMetric{
    		PutTagTotal: atomic.LoadUint64(&v.PutTagTotal),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  6. cmd/bucket-replication-handlers.go

    // ----------
    // Gets the replication metrics for a bucket.
    func (api objectAPIHandlers) GetBucketReplicationMetricsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketReplicationMetrics")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 28 04:08:53 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  7. cmd/bucket-policy-handlers_test.go

    		},
    		// Test case - 9.
    		// non-existent bucket is used (with invalid bucket name)
    		// writing BucketPolicy should fail.
    		// should result in 404 StatusNotFound
    		{
    			bucketName:         ".invalid-bucket",
    			bucketPolicyReader: bytes.NewReader([]byte(fmt.Sprintf(bucketPolicyTemplate, ".invalid-bucket", ".invalid-bucket"))),
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  8. cmd/bucket-listobjects-handlers.go

    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.ListBucketVersionsAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    		6: {
    			bucket:             bucketName,
    			objects:            anonRequestWithPartialPublicAccess,
    			accessKey:          "",
    			secretKey:          "",
    			expectedContent:    encodedAnonResponseWithPartialPublicAccess,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 7.
    		// Bucket does not exist.
    		7: {
    			bucket:             "unknown-bucket-name",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  10. cmd/bucket-replication-utils.go

    	// Total number of failed operations
    	ReplicatedCount int64 `json:"replicationCount"`
    	// Last bucket/object replicated.
    	Bucket string `json:"bucket,omitempty"`
    	Object string `json:"object,omitempty"`
    }
    
    // VersionPurgeStatusType represents status of a versioned delete or permanent delete w.r.t bucket replication
    type VersionPurgeStatusType string
    
    const (
    	// Pending - versioned delete replication is pending.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
Back to top