Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 242 for bucketOf (0.12 sec)

  1. cmd/metrics-v3-handler.go

    	isListingRequest := r.Form.Has("list")
    
    	buckets := []string{}
    	if strings.HasPrefix(pathComponents, "/bucket/") {
    		// bucket specific metrics, extract the bucket name from the path.
    		// it's the last part of the path. e.g. /bucket/api/<bucket-name>
    		bucketIdx := strings.LastIndex(pathComponents, "/")
    		buckets = append(buckets, pathComponents[bucketIdx+1:])
    		// remove bucket from pathComponents as it is dyanamic and
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 16:06:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. 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) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  3. docs/debugging/s3-check-md5/main.go

    		s3Client.TraceOn(os.Stderr)
    	}
    
    	var buckets []string
    	if bucket != "" {
    		buckets = append(buckets, bucket)
    	} else {
    		bucketsInfo, err := s3Client.ListBuckets(context.Background())
    		if err != nil {
    			log.Fatalln(err)
    		}
    		for _, b := range bucketsInfo {
    			buckets = append(buckets, b.Name)
    		}
    	}
    
    	for _, bucket := range buckets {
    		opts := minio.ListObjectsOptions{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. internal/bucket/encryption/bucket-sse-config_test.go

    		}
    
    		if tc.keyID != "" && tc.keyID != ssec.KeyID() {
    			t.Errorf("Test case %d: Expected bucket encryption KeyID %s but got %s", i+1, tc.keyID, ssec.KeyID())
    		}
    
    		if expectedXML, err := xml.Marshal(tc.expectedConfig); err != nil || !bytes.Equal(expectedXML, []byte(tc.inputXML)) {
    			t.Errorf("Test case %d: Expected bucket encryption XML %s but got %s", i+1, string(expectedXML), tc.inputXML)
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 16 18:28:30 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  5. cmd/bucket-notification-handlers.go

    	ctx := newContext(r, w, "GetBucketNotification")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucketName := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. test/fixedbugs/issue62203.go

    func main() {
    	m := map[string]struct{}{}
    
    	// Fill m up to the max for 4 buckets = 48 entries.
    	for i := 0; i < 48; i++ {
    		m[fmt.Sprintf("%d", i)] = struct{}{}
    	}
    
    	// Add a 49th entry, to start a grow to 8 buckets.
    	m["foo"] = struct{}{}
    
    	// Remove that 49th entry. m is still growing to 8 buckets,
    	// but a clone of m will only have 4 buckets because it
    	// only needs to fit 48 entries.
    	delete(m, "foo")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:10:03 UTC 2023
    - 688 bytes
    - Viewed (0)
  7. docs/minio-limits.md

    | Maximum number of buckets                                                       | unlimited (we recommend not beyond 500000 buckets) - see NOTE:                  |
    | Maximum number of objects per bucket                                            | no-limit                                                                        |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. 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
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 01 15:56:24 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. docs/bucket/quota/README.md

    ## Set bucket quota configuration
    
    ### Set a hard quota of 1GB for a bucket `mybucket` on MinIO object storage
    
    ```sh
    mc admin bucket quota myminio/mybucket --hard 1gb
    ```
    
    ### Verify the quota configured on `mybucket` on MinIO
    
    ```sh
    mc admin bucket quota myminio/mybucket
    ```
    
    ### Clear bucket quota configuration for `mybucket` on MinIO
    
    ```sh
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-oidc.sh

    	exit_1
    fi
    
    # create a bucket bucket2 on minio1.
    ./mc mb minio1/bucket2
    
    ./mc mb minio1/newbucket
    
    # copy large upload to newbucket on minio1
    truncate -s 17M lrgfile
    expected_checksum=$(cat ./lrgfile | md5sum)
    
    ./mc cp ./lrgfile minio1/newbucket
    sleep 5
    ./mc stat minio2/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    	exit_1
    fi
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top