Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for Kate (0.13 sec)

  1. cmd/signature-v4_test.go

    		// (6) Should error if the request is not ready yet, ie X-Amz-Date is in the future.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":      signV4Algorithm,
    				"X-Amz-Date":           now.Add(1 * time.Hour).Format(iso8601Format),
    				"X-Amz-Expires":        "60",
    				"X-Amz-Signature":      "badsignature",
    				"X-Amz-SignedHeaders":  "host;x-amz-content-sha256;x-amz-date",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  2. internal/bucket/lifecycle/transition.go

    	errTransitionInvalidDate     = Errorf("Date must be provided in ISO 8601 format")
    	errTransitionInvalid         = Errorf("Exactly one of Days (0 or greater) or Date (positive ISO 8601 format) should be present in Transition.")
    	errTransitionDateNotMidnight = Errorf("'Date' must be at midnight GMT")
    )
    
    // TransitionDate is a embedded type containing time.Time to unmarshal
    // Date in Transition
    type TransitionDate struct {
    	time.Time
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    	//
    	// When reading, an extended timestamp is preferred over the legacy MS-DOS
    	// date field, and the offset between the times is used as the timezone.
    	// If only the MS-DOS date is present, the timezone is assumed to be UTC.
    	//
    	// When writing, an extended timestamp (which is timezone-agnostic) is
    	// always emitted. The legacy MS-DOS date field is encoded according to the
    	// location of the Modified time.
    	Modified time.Time
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. internal/amztime/iso8601_time.go

    	"time"
    )
    
    // RFC3339 a subset of the ISO8601 timestamp format. e.g 2014-04-29T18:30:38Z
    const (
    	iso8601TimeFormat     = "2006-01-02T15:04:05.000Z"    // Reply date format with millisecond precision.
    	iso8601TimeFormatLong = "2006-01-02T15:04:05.000000Z" // Reply date format with nanosecond precision.
    )
    
    // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 16 23:38:33 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	// Name of the bucket.
    	Name string
    
    	// Date and time when the bucket was created.
    	Created time.Time
    	Deleted time.Time
    
    	// Bucket features enabled
    	Versioning, ObjectLocking bool
    }
    
    // ObjectInfo - represents object metadata.
    type ObjectInfo struct {
    	// Name of the bucket.
    	Bucket string
    
    	// Name of the object.
    	Name string
    
    	// Date and time when the object was last modified.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle-handlers_test.go

    			expectedRespStatus: http.StatusBadRequest,
    			lifecycleResponse:  []byte(``),
    			errorResponse: APIErrorResponse{
    				Resource: SlashSeparator + bucketName + SlashSeparator,
    				Code:     "InvalidArgument",
    				Message:  "Date must be provided in ISO 8601 format",
    			},
    
    			shouldPass: false,
    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)
  7. cmd/signature-v4-utils_test.go

    	// "host" header value from the extracted result.
    	extractedHost := extractedSignedHeaders.Get("host")
    	//  "x-amz-date" header from the extracted result.
    	extractedDate := extractedSignedHeaders.Get("x-amz-date")
    	// extracted `expect` header.
    	extractedExpect := extractedSignedHeaders.Get("expect")
    
    	extractedTransferEncoding := extractedSignedHeaders.Get("transfer-encoding")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  8. internal/s3select/sql/timestampfuncs.go

    	if ts2.Before(ts1) {
    		v, err := dateDiff(timePart, ts2, ts1)
    		if err == nil {
    			v.negate()
    		}
    		return v, err
    	}
    
    	duration := ts2.Sub(ts1)
    	y1, m1, d1 := ts1.Date()
    	y2, m2, d2 := ts2.Date()
    
    	switch timePart {
    	case timePartYear:
    		dy := int64(y2 - y1)
    		if m2 > m1 || (m2 == m1 && d2 >= d1) {
    			return FromInt(dy), nil
    		}
    		return FromInt(dy - 1), nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    	}
    
    	region := globalSite.Region
    	date := UTCNow()
    	scope := getScope(date, region)
    	credential := fmt.Sprintf("%s/%s", accessKeyID, scope)
    
    	// Set URL query.
    	query := req.URL.Query()
    	query.Set("X-Amz-Algorithm", signV4Algorithm)
    	query.Set("X-Amz-Date", date.Format(iso8601Format))
    	query.Set("X-Amz-Expires", strconv.FormatInt(expires, 10))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  10. cmd/batch-rotate.go

    //     newerThan: "7d" # match objects newer than this value (e.g. 7d10h31s)
    //     olderThan: "7d" # match objects older than this value (e.g. 7d10h31s)
    //     createdAfter: "date" # match objects created after "date"
    //     createdBefore: "date" # match objects created before "date"
    //     tags:
    //       - key: "name"
    //         value: "pick*" # match objects with tag 'name', with all values starting with 'pick'
    //     metadata:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top