Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for iso (0.14 sec)

  1. cmd/bucket-lifecycle-handlers_test.go

    			lifecycleResponse:  []byte(``),
    			errorResponse: APIErrorResponse{
    				Resource: SlashSeparator + bucketName + SlashSeparator,
    				Code:     "InvalidArgument",
    				Message:  "Date must be provided in ISO 8601 format",
    			},
    
    			shouldPass: false,
    		},
    		{
    			method:             http.MethodPut,
    			bucketName:         bucketName,
    			accessKey:          creds.AccessKey,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock.go

    	ErrMalformedBucketObjectConfig = errors.New("invalid bucket object lock config")
    	// ErrInvalidRetentionDate - indicates that retention date needs to be in ISO 8601 format
    	ErrInvalidRetentionDate = errors.New("date must be provided in ISO 8601 format")
    	// ErrPastObjectLockRetainDate - indicates that retention date must be in the future
    	ErrPastObjectLockRetainDate = errors.New("the retain until date must be in the future")
    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)
  3. internal/bucket/lifecycle/expiration.go

    import (
    	"encoding/xml"
    	"time"
    )
    
    var (
    	errLifecycleInvalidDate         = Errorf("Date must be provided in ISO 8601 format")
    	errLifecycleInvalidDays         = Errorf("Days must be positive integer when used with Expiration")
    	errLifecycleInvalidExpiration   = Errorf("Exactly one of Days (positive integer) or Date (positive ISO 8601 format) should be present inside Expiration.")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  4. internal/bucket/lifecycle/expiration_test.go

    				t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err)
    			}
    		})
    	}
    
    	validationTestCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Expiration with a valid ISO 8601 date
    			inputXML: `<Expiration>
                                        <Date>2019-04-20T00:00:00Z</Date>
                                        </Expiration>`,
    			expectedErr: nil,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidRetentionDate: {
    		Code:           "InvalidRequest",
    		Description:    "Date must be provided in ISO 8601 format",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrPastObjectLockRetainDate: {
    		Code:           "InvalidRequest",
    		Description:    "the retain until date must be in the future",
    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)
  6. src/cmd/cgo/gcc.go

    		// gcc's DWARF generator outputs a single DotDotDotType parameter for
    		// function pointers that specify no parameters (e.g. void
    		// (*__cgo_0)()).  Treat this special case as void. This case is
    		// invalid according to ISO C anyway (i.e. void (*__cgo_1)(...) is not
    		// legal).
    		if _, ok := f.(*dwarf.DotDotDotType); ok && i == 0 {
    			p, gp = nil, nil
    			break
    		}
    		p[i] = c.FuncArg(f, pos)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top