Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 530 for bracket (0.19 sec)

  1. 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)
  2. 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)
  3. internal/bucket/encryption/bucket-sse-config.go

    const xmlNS = "http://s3.amazonaws.com/doc/2006-03-01/"
    
    // BucketSSEConfig - represents default bucket encryption configuration
    type BucketSSEConfig struct {
    	XMLNS   string   `xml:"xmlns,attr,omitempty"`
    	XMLName xml.Name `xml:"ServerSideEncryptionConfiguration"`
    	Rules   []Rule   `xml:"Rule"`
    }
    
    // ParseBucketSSEConfig - Decodes given XML to a valid default bucket encryption config
    func ParseBucketSSEConfig(r io.Reader) (*BucketSSEConfig, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. cmd/bucket-lifecycle-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketLifecycleAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Check if bucket exists.
    	if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 17:48:06 GMT 2023
    - 7K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle-audit.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "github.com/minio/minio/internal/bucket/lifecycle"
    
    //go:generate stringer -type lcEventSrc -trimprefix lcEventSrc_ $GOFILE
    type lcEventSrc uint8
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K 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