- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for checkPolicyExists (0.14 sec)
-
helm-releases/minio-5.4.0.tgz
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 } # checkPolicyExists ($policy) # Check if the policy exists, by using the exit code of `mc admin policy info` checkPolicyExists() { POLICY=$1 CMD=$(${MC} admin policy info myminio $POLICY > /dev/null 2>&1) return $? } # createPolicy($name, $filename) createPolicy () { NAME=$1 FILENAME=$2 # Create the name if it does...
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jan 03 05:34:47 UTC 2025 - 21.7K bytes - Viewed (0)