Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for objData (0.12 sec)

  1. cmd/post-policy_test.go

    }
    
    func newPostRequestV4WithContentLength(endPoint, bucketName, objectName string, objData []byte, accessKey, secretKey string) (*http.Request, error) {
    	t := UTCNow()
    	region := "us-east-1"
    	policy := buildGenericPolicy(t, accessKey, region, bucketName, objectName, true)
    	return newPostRequestV4Generic(endPoint, bucketName, objectName, objData, accessKey, secretKey, region, t, policy, nil, false, false, false)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. cmd/ftp-server-driver.go

    // Stat implements ftpDriver
    func (driver *ftpDriver) Stat(ctx *ftp.Context, objPath string) (fi os.FileInfo, err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(0, err)
    
    	if objPath == SlashSeparator {
    		return &minioFileInfo{
    			p:     SlashSeparator,
    			isDir: true,
    		}, nil
    	}
    
    	bucket, object := path2BucketObject(objPath)
    	if bucket == "" {
    		return nil, errors.New("bucket name cannot be empty")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    }
    
    func decryptData(data []byte, objPath string) ([]byte, error) {
    	if utf8.Valid(data) {
    		return data, nil
    	}
    
    	pdata, err := madmin.DecryptData(globalActiveCred.String(), bytes.NewReader(data))
    	if err == nil {
    		return pdata, nil
    	}
    	if GlobalKMS != nil {
    		pdata, err = config.DecryptBytes(GlobalKMS, data, kms.Context{
    			minioMetaBucket: path.Join(minioMetaBucket, objPath),
    		})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top