Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 242 for bucketOf (0.12 sec)

  1. cmd/bucket-encryption-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketEncryptionAction, 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. cmd/bucket-policy.go

    	"github.com/minio/pkg/v3/policy"
    )
    
    // PolicySys - policy subsystem.
    type PolicySys struct{}
    
    // Get returns stored bucket policy
    func (sys *PolicySys) Get(bucket string) (*policy.BucketPolicy, error) {
    	policy, _, err := globalBucketMetadataSys.GetPolicyConfig(bucket)
    	return policy, err
    }
    
    // IsAllowed - checks given policy args is allowed to continue the Rest API.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. releasenotes/notes/bootstrap-histogram-buckets.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: telemetry
    issue: []
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 13 21:29:54 UTC 2023
    - 221 bytes
    - Viewed (0)
  4. cmd/metacache-manager.go

    	if ok {
    		if b.bucket != bucket {
    			logger.Info("getBucket: newly cached bucket %s does not match this bucket %s", b.bucket, bucket)
    			debug.PrintStack()
    		}
    		return b
    	}
    
    	// New bucket. If we fail return the transient bucket.
    	b = newBucketMetacache(bucket, true)
    	m.buckets[bucket] = b
    	return b
    }
    
    // deleteBucketCache will delete the bucket cache if it exists.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/histogram.go

    		h.Buckets = h.Buckets[:cap(h.Buckets)]
    	}
    	h.Buckets[bucket]++
    	if bucket < h.MinBucket || h.MaxBucket == 0 {
    		h.MinBucket = bucket
    	}
    	if bucket > h.MaxBucket {
    		h.MaxBucket = bucket
    	}
    	h.Count++
    }
    
    // BucketMin returns the minimum duration value for a provided bucket.
    func (h *TimeHistogram) BucketMin(bucket int) time.Duration {
    	return time.Duration(math.Exp(float64(bucket) * logDiv))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/runtime/histogram.go

    	//    │ └---- Next 2 bits -> sub-bucket 2
    	//    └------- Bit 9 set -> bucket 1
    	//
    	//    1000000010
    	//    ^-- ^
    	//    │ ^ └-- Lower bits ignored
    	//    │ └---- Next 2 bits -> sub-bucket 0
    	//    └------- Bit 10 set -> bucket 2
    	//
    	// Following this pattern, bucket 38 will have the bit 46 set. We don't
    	// have any buckets for higher values, so we spill the rest into an overflow
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"net/http"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // TestParseRestoreObjStatus tests parseRestoreObjStatus
    func TestParseRestoreObjStatus(t *testing.T) {
    	testCases := []struct {
    		restoreHdr     string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  8. cmd/peer-s3-server.go

    		if vi, ok := deletedBuckets[v.Name]; ok {
    			bi.Deleted = vi.Created
    		}
    		buckets = append(buckets, bi)
    	}
    
    	for _, v := range deletedBuckets {
    		if _, ok := healBuckets[v.Name]; !ok {
    			buckets = append(buckets, BucketInfo{
    				Name:    v.Name,
    				Deleted: v.Created,
    			})
    		}
    	}
    
    	return buckets, nil
    }
    
    func cloneDrives(drives []StorageAPI) []StorageAPI {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/runtime/histogram_test.go

    	if len(buckets) != expBucketsLen {
    		t.Fatalf("unexpected length of buckets: got %d, want %d", len(buckets), expBucketsLen)
    	}
    	// Check some values.
    	idxToBucket := map[int]float64{
    		0:                 math.Inf(-1),
    		1:                 0.0,
    		2:                 float64(0x040) / 1e9,
    		3:                 float64(0x080) / 1e9,
    		4:                 float64(0x0c0) / 1e9,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 16:32:01 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  10. helm/minio/templates/_helper_create_bucket.txt

    				${MC} version suspend myminio/$BUCKET
    			fi
    		fi
    	else
    		echo "Bucket '$BUCKET' versioning unchanged."
    	fi
    
    	# At this point, the bucket should exist, skip checking for existence
    	# Set policy on the bucket
    	echo "Setting policy of bucket '$BUCKET' to '$POLICY'."
    	${MC} anonymous set $POLICY myminio/$BUCKET
    }
    
    # Try connecting to MinIO instance
    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jan 12 18:18:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top