- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for checkBucketExists (0.07 sec)
-
helm-releases/minio-5.3.0.tgz
echo \"Failed attempts: $ATTEMPTS\" if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 fi sleep 2 # 1 second intervals between attempts $MC_COMMAND STATUS=$? done set -e # reset `e` as active return 0 } # checkBucketExists ($bucket) # 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...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 11 12:21:05 UTC 2024 - 21.7K bytes - Viewed (0)