- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for asker (0.18 sec)
-
helm-releases/minio-1.0.3.tgz
checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls 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 # Purge the bucket, if set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET ; then echo "Purging bucket '$BUCKET'."...
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Aug 24 19:04:07 GMT 2021 - 13.6K bytes - Viewed (0)