Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for S3 (0.23 sec)

  1. cmd/post-policy_test.go

    		},
    		// Success case, no multipart filename.
    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. cmd/api-router.go

    	return globalObjectAPI
    }
    
    func setObjectLayer(o ObjectLayer) {
    	globalObjLayerMutex.Lock()
    	globalObjectAPI = o
    	globalObjLayerMutex.Unlock()
    }
    
    // objectAPIHandler implements and provides http handlers for S3 API.
    type objectAPIHandlers struct {
    	ObjectAPI func() ObjectLayer
    }
    
    // getHost tries its best to return the request host.
    // According to section 14.23 of RFC 2616 the Host header
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. cmd/bucket-metadata.go

    	bucketMetadataVersion = 1
    )
    
    var (
    	enabledBucketObjectLockConfig = []byte(`<ObjectLockConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><ObjectLockEnabled>Enabled</ObjectLockEnabled></ObjectLockConfiguration>`)
    	enabledBucketVersioningConfig = []byte(`<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Status>Enabled</Status></VersioningConfiguration>`)
    )
    
    //go:generate msgp -file $GOFILE
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    			ObjectName:      object,
    		}) {
    			// Request is allowed return the appropriate access key.
    			return ErrNone
    		}
    
    		if action == policy.ListBucketVersionsAction {
    			// In AWS S3 s3:ListBucket permission is same as s3:ListBucketVersions permission
    			// verify as a fallback.
    			if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    				AccountName:     cred.AccessKey,
    				Groups:          cred.Groups,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. helm-releases/minio-5.2.0.tgz

    name: writeexamplepolicy # statements: # - effect: Allow # this is the default # resources: # - 'arn:aws:s3:::example*/*' # actions: # - "s3:AbortMultipartUpload" # - "s3:GetObject" # - "s3:DeleteObject" # - "s3:PutObject" # - "s3:ListMultipartUploadP" # - resources: # - 'arn:aws:s3:::example*' # actions: # - "s3:CreateBucket" # - "s3:DeleteBucket" # - "s3:GetBucketLocation" # - "s3:ListBucket" # - "s3:ListBucketMultipartU" ## readonlyexamplepolic policy grants access to buckets with name starting with...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock.go

    	XMLName xml.Name `xml:"DefaultRetention"`
    	Mode    RetMode  `xml:"Mode"`
    	Days    *uint64  `xml:"Days"`
    	Years   *uint64  `xml:"Years"`
    }
    
    // Maximum support retention days and years supported by AWS S3.
    const (
    	// This tested by using `mc lock` command
    	maximumRetentionDays  = 36500
    	maximumRetentionYears = 100
    )
    
    // UnmarshalXML - decodes XML data.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. cmd/handler-api.go

    		return nil, 10 * time.Second
    	}
    
    	if t.requestsDeadline <= 0 {
    		return t.requestsPool, 10 * time.Second
    	}
    
    	return t.requestsPool, t.requestsDeadline
    }
    
    // maxClients throttles the S3 API calls
    func maxClients(f http.HandlerFunc) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    		globalHTTPStats.incS3RequestsIncoming()
    
    		if r.Header.Get(globalObjectPerfUserMetadata) == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    			}
    			wait()
    			return nil
    		})
    	})
    }
    
    // ListMultipartUploads - lists all the pending multipart
    // uploads for a particular object in a bucket.
    //
    // Implements minimal S3 compatible ListMultipartUploads API. We do
    // not support prefix based listing, this is a deliberate attempt
    // towards simplification of multipart APIs.
    // The resulting ListMultipartsInfo structure is unmarshalled directly as XML.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. internal/event/target/postgresql.go

    func (target *PostgreSQLTarget) send(eventData event.Event) error {
    	if target.args.Format == event.NamespaceFormat {
    		objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    		if err != nil {
    			return err
    		}
    		key := eventData.S3.Bucket.Name + "/" + objectName
    
    		if eventData.EventName == event.ObjectRemovedDelete {
    			_, err = target.deleteStmt.Exec(key)
    		} else {
    			var data []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  10. cmd/signature-v4.go

    const (
    	signV4Algorithm = "AWS4-HMAC-SHA256"
    	iso8601Format   = "20060102T150405Z"
    	yyyymmdd        = "20060102"
    )
    
    type serviceType string
    
    const (
    	serviceS3  serviceType = "s3"
    	serviceSTS serviceType = "sts"
    )
    
    // getCanonicalHeaders generate a list of request headers with their values
    func getCanonicalHeaders(signedHeaders http.Header) string {
    	var headers []string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top