Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for documents (0.16 sec)

  1. internal/s3select/json/errors.go

    }
    
    func (err *s3Error) Error() string {
    	return err.message
    }
    
    func errInvalidJSONType(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidJsonType",
    		message:    "The JsonType is invalid. Only DOCUMENT and LINES are supported.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errJSONParsingError(err error) *s3Error {
    	return &s3Error{
    		code:       "JSONParsingError",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  2. internal/s3select/sql/stringfuncs.go

    	if len(r) == 0 {
    		return "", false
    	}
    	return string(r[1:]), true
    }
    
    func evalSQLSubstring(s string, startIdx, length int) (res string, err error) {
    	rs := []rune(s)
    
    	// According to s3 document, if startIdx < 1, it is set to 1.
    	if startIdx < 1 {
    		startIdx = 1
    	}
    
    	if startIdx > len(rs) {
    		startIdx = len(rs) + 1
    	}
    
    	// StartIdx is 1-based in the input
    	startIdx--
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  3. internal/config/identity/openid/provider/keycloak.go

    	return func(p *KeycloakProvider) {
    		p.client = http.Client{
    			Transport: transport,
    		}
    	}
    }
    
    // WithOpenIDConfig provide OpenID Endpoint configuration discovery document
    func WithOpenIDConfig(oeConfig DiscoveryDoc) Option {
    	return func(p *KeycloakProvider) {
    		p.oeConfig = oeConfig
    	}
    }
    
    // WithAdminURL provide admin URL configuration for Keycloak
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  4. 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)
  5. cmd/postpolicyform_test.go

    		// Expired policy document
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. cmd/api-errors.go

    	},
    	ErrInvalidPolicyDocument: {
    		Code:           "InvalidPolicyDocument",
    		Description:    "The content of the form does not meet the conditions specified in the policy document.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAccessDenied: {
    		Code:           "AccessDenied",
    		Description:    "Access Denied.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrBadDigest: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  9. cmd/server_test.go

    	c.Assert(response.StatusCode, http.StatusNotModified)
    
    	// Again, obtain the object info.
    	// This time setting "If-Unmodified-Since" to a time after the object is modified.
    	// As documented above, expecting http.StatusPreconditionFailed.
    	request, err = newTestSignedRequest(http.MethodHead, getHeadObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	if iamOS, ok := store.IAMStorageAPI.(*IAMObjectStore); ok {
    		err := iamOS.loadAllFromObjStore(ctx, newCache)
    		if err != nil {
    			return err
    		}
    	} else {
    
    		bootstrapTraceMsg("loading policy documents")
    		if err := store.loadPolicyDocs(ctx, newCache.iamPolicyDocsMap); err != nil {
    			return err
    		}
    
    		// Sets default canned policies, if none are set.
    		setDefaultCannedPolicies(newCache.iamPolicyDocsMap)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top