Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Document (0.2 sec)

  1. cmd/post-policy_test.go

    			expectedRespStatus: http.StatusForbidden,
    			accessKey:          "",
    			secretKey:          "",
    			dates:              []interface{}{},
    			policy:             ``,
    		},
    		// Expired document
    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    			expectedRespStatus: http.StatusForbidden,
    			accessKey:          credentials.AccessKey,
    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. internal/event/target/elasticsearch.go

    	if target.args.Format == event.NamespaceFormat {
    		objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    		if err != nil {
    			return err
    		}
    
    		// Calculate a hash of the key for the id of the ES document.
    		// Id's are limited to 512 bytes in V7+, so we need to do this.
    		var keyHash string
    		{
    			key := eventData.S3.Bucket.Name + "/" + objectName
    			if target.client.isAtleastV7() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. internal/s3select/message.go

    // Progress messages contain three headers, as follows:
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-progress.png
    //
    // Payload specification:
    // Progress message payload is an XML document containing information about the progress of a request.
    //   - BytesScanned => Number of bytes that have been processed before being uncompressed (if the file is compressed).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  4. cmd/globals.go

    	globalDirSuffix                = "__XLDIR__"
    	globalDirSuffixWithSlash       = globalDirSuffix + slashSeparator
    
    	// Add new global values here.
    )
    
    const (
    	// Limit fields size (except file) to 1Mib since Policy document
    	// can reach that size according to https://aws.amazon.com/articles/1434
    	maxFormFieldSize = int64(1 * humanize.MiByte)
    
    	// The maximum allowed time difference between the incoming request
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. internal/config/identity/openid/openid.go

    				if scope == "" {
    					return c, config.Errorf("empty scope value is not allowed '%s', please refer to our documentation", scopeList)
    				}
    				scopes = append(scopes, scope)
    			}
    			// Replace the discovery document scopes by client customized scopes.
    			p.DiscoveryDoc.ScopesSupported = scopes
    		}
    
    		// Check if claim name is the non-default value and role policy is set.
    		if p.ClaimName != policy.PolicyName && p.RolePolicy != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    			bucketLifecycle, err := lifecycle.ParseLifecycleConfig(io.LimitReader(reader, sz))
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    
    			// Validate the received bucket policy document
    			if err = bucketLifecycle.Validate(); err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    
    			// Validate the transition storage ARNs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    }
    
    // HasTransition returns 'true' if lifecycle document has Transition enabled.
    func (lc Lifecycle) HasTransition() bool {
    	for _, rule := range lc.Rules {
    		if rule.Transition.IsEnabled() {
    			return true
    		}
    	}
    	return false
    }
    
    // HasExpiry returns 'true' if lifecycle document has Expiry enabled.
    func (lc Lifecycle) HasExpiry() bool {
    	for _, rule := range lc.Rules {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. internal/bucket/object/lock/lock.go

    	default:
    		return xml.UnmarshalError(fmt.Sprintf("expected element type <LegalHold>/<ObjectLockLegalHold> but have <%s>",
    			start.Name.Local))
    	}
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			return err
    		}
    
    		if se, ok := t.(xml.StartElement); ok {
    			switch se.Name.Local {
    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)
  9. cmd/postpolicyform.go

    // (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html)
    func checkPostPolicy(formValues http.Header, postPolicyForm PostPolicyForm) error {
    	// Check if policy document expiry date is still not reached
    	if !postPolicyForm.Expiration.After(UTCNow()) {
    		return fmt.Errorf("Invalid according to Policy: Policy expired")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().BoolVar(&ignoreUnknown, "ignore-unknown", false,
    		"Don't complain about un-parseable input documents, for cases where analyze should run only on k8s compliant inputs.")
    	analysisCmd.PersistentFlags().StringVarP(&revisionSpecified, "revision", "", "default",
    		"analyze a specific revision deployed.")
    	return analysisCmd
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top