Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for create_buckets (0.22 seconds)

  1. helm/minio/templates/_helper_create_bucket.txt

    # Check if the bucket exists, by using the exit code of `mc ls`
    checkBucketExists() {
    	BUCKET=$1
    	CMD=$(${MC} stat myminio/$BUCKET >/dev/null 2>&1)
    	return $?
    }
    
    # createBucket ($bucket, $policy, $purge)
    # Ensure bucket exists, purging if asked to
    createBucket() {
    	BUCKET=$1
    	POLICY=$2
    	PURGE=$3
    	VERSIONING=$4
    	OBJECTLOCKING=$5
    
    	# Purge the bucket, if set & exists
    	# Since PURGE is user input, check explicitly for `true`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 07 09:47:02 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top