Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for filename (0.2 sec)

  1. cmd/admin-bucket-handlers.go

    			continue
    		}
    		bucket, fileName := slc[0], slc[1]
    		if fileName == objectLockConfig {
    			reader, err := file.Open()
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    			config, err := objectlock.ParseObjectLockConfig(reader)
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf("%s (%s)", errorCodes[ErrMalformedXML].Description, err))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. cmd/postpolicyform_test.go

    		{Bucket: "testbucket", Key: "user/user1/filename/${filename}/myfile.txt", XAmzMetaUUID: "14365123651274", SuccessActionStatus: "201", XAmzCredential: "KVGKMDUQ23TCZXTLTHLP/20160727/us-east-1/s3/aws4_request", XAmzDate: "20160727T000000Z", XAmzAlgorithm: "AWS4-HMAC-SHA256", ContentType: "image/jpeg", expectedErr: nil},
    		// Expired policy document
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  3. helm/minio/templates/_helper_create_svcacct.txt

        # Check if policy file is define
        if [ -z $FILENAME ]; then
          ${MC} admin user svcacct add --access-key $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) --secret-key $(tail -n1 $MINIO_ACCESSKEY_SECRETKEY_TMP) myminio $USER
        else
          ${MC} admin user svcacct add --access-key $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) --secret-key $(tail -n1 $MINIO_ACCESSKEY_SECRETKEY_TMP) --policy /config/$FILENAME.json myminio $USER
        fi
      else
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. internal/disk/stat_linux.go

    		iostats.DiscardIOs = stats[11]
    		iostats.DiscardMerges = stats[12]
    		iostats.DiscardSectors = stats[13]
    		iostats.DiscardTicks = stats[14]
    	}
    	return
    }
    
    func readStat(fileName string) (stats []uint64, err error) {
    	file, err := os.Open(fileName)
    	if err != nil {
    		return nil, err
    	}
    	defer file.Close()
    
    	s, err := bufio.NewReader(file).ReadString('\n')
    	if err != nil && !errors.Is(err, io.EOF) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. docs/extensions/s3zip/examples/boto3/main.py

    response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/")
    print(response)
    
    # Download data.csv stored in the zip file
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 04 21:15:45 GMT 2021
    - 771 bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    	// Presign with V4 signature based on the policy.
    	signature := postPresignSignatureV4(encodedPolicy, t, secretKey, region)
    
    	// If there is no filename on multipart, get the filename from the key.
    	key := objectName
    	if noFilename {
    		key += "/upload.txt"
    	} else {
    		key += "/${filename}"
    	}
    
    	formData := map[string]string{
    		"bucket":           bucketName,
    		"key":              key,
    		"x-amz-credential": credStr,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  7. docs/bucket/replication/setup_2site_existing_replication.sh

    	echo "BUG: expected no 'diff' after replication: $out"
    	exit 1
    fi
    
    sitea_count=$(cat /tmp/sitea_dirs.txt | wc -l) # need to do it this way to avoid filename in the output
    siteb_count=$(cat /tmp/siteb_dirs.txt | wc -l) # need to do it this way to avoid filename in the output
    sitea_out=$(cat /tmp/sitea_dirs.txt)
    siteb_out=$(cat /tmp/siteb_dirs.txt)
    
    if [ $sitea_count -ne 0 ]; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. helm/minio/templates/_helper_create_policy.txt

      return $?
    }
    
    # createPolicy($name, $filename)
    createPolicy () {
      NAME=$1
      FILENAME=$2
    
      # Create the name if it does not exist
      echo "Checking policy: $NAME (in /config/$FILENAME.json)"
      if ! checkPolicyExists $NAME ; then
        echo "Creating policy '$NAME'"
      else
        echo "Policy '$NAME' already exists."
      fi
      ${MC} admin policy create myminio $NAME /config/$FILENAME.json
    
    }
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. helm-releases/minio-5.0.14.tgz

    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 not exist echo "Checking policy: $NAME (in /config/$FILENAME.json)" if ! checkPolicyExists $NAME ; then echo "Creating policy '$NAME'" else echo "Policy '$NAME' already exists." fi ${MC} admin policy create myminio $NAME /config/$FILENAME.json } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Sep 30 20:46:10 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  10. helm-releases/minio-5.0.10.tgz

    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 not exist echo "Checking policy: $NAME (in /config/$FILENAME.json)" if ! checkPolicyExists $NAME ; then echo "Creating policy '$NAME'" else echo "Policy '$NAME' already exists." fi ${MC} admin policy create myminio $NAME /config/$FILENAME.json } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 27 00:05:49 GMT 2023
    - 20.3K bytes
    - Viewed (0)
Back to top