Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 99 for Kate (0.16 sec)

  1. cmd/batch-expire_test.go

          name: NAME # match object names that satisfy the wildcard expression.
          olderThan: 70h # match objects older than this value
          createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date"
          tags:
            - key: name
              value: pick* # match objects with tag 'name', all values starting with 'pick'
          metadata:
            - key: content-type
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/update_test.go

    	utcLoc, _ := time.LoadLocation("")
    	testCases := []struct {
    		t      time.Time
    		tag    string
    		errStr string
    	}{
    		{
    			time.Date(2017, time.September, 29, 19, 16, 56, 0, utcLoc),
    			"RELEASE.2017-09-29T19-16-56Z", "",
    		},
    		{
    			time.Date(2017, time.August, 5, 0, 0, 53, 0, utcLoc),
    			"RELEASE.2017-08-05T00-00-53Z", "",
    		},
    		{
    			time.Now().UTC(), "2017-09-29T19:16:56Z",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. cmd/generic-handlers.go

    	return strings.HasPrefix(r.URL.Path, kmsPathPrefix)
    }
    
    // Supported Amz date headers.
    var amzDateHeaders = []string{
    	// Do not change this order, x-amz-date value should be
    	// validated first.
    	"x-amz-date",
    	"date",
    }
    
    // parseAmzDateHeader - parses supported amz date headers, in
    // supported amz date formats.
    func parseAmzDateHeader(req *http.Request) (time.Time, APIErrorCode) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock_test.go

    			},
    			expected: ObjectRetention{Mode: RetGovernance},
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-retain-until-date": "2020-02-01",
    			},
    			expected: ObjectRetention{RetainUntilDate: RetentionDate{time.Date(2020, 2, 1, 12, 0, 0, 0, time.UTC)}},
    		},
    	}
    
    	for i, tt := range tests {
    		o := GetObjectRetentionMeta(tt.metadata)
    		if o.Mode != tt.expected.Mode {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. internal/s3select/sql/parser.go

    }
    
    // DateAddFunc represents the DATE_ADD function
    type DateAddFunc struct {
    	DatePart  string       `parser:" \"DATE_ADD\" \"(\" @( \"YEAR\":Timeword | \"MONTH\":Timeword | \"DAY\":Timeword | \"HOUR\":Timeword | \"MINUTE\":Timeword | \"SECOND\":Timeword ) \",\""`
    	Quantity  *Operand     `parser:" @@ \",\""`
    	Timestamp *PrimaryTerm `parser:" @@ \")\""`
    }
    
    // DateDiffFunc represents the DATE_DIFF function
    type DateDiffFunc struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. tests/sql_builder_test.go

    	// create
    	user := &User{Name: "foo", Age: 20}
    	user.CreatedAt = date
    	user.UpdatedAt = date
    	sql = DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Model(&User{}).Create(user)
    	})
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. src/archive/zip/writer.go

    	if !fh.Modified.IsZero() {
    		// Contrary to the FileHeader.SetModTime method, we intentionally
    		// do not convert to UTC, because we assume the user intends to encode
    		// the date using the specified timezone. A user may want this control
    		// because many legacy ZIP readers interpret the timestamp according
    		// to the local timezone.
    		//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. cmd/batch-replicate.go

    //
    //   # optional flags based filtering criteria
    //   # for source objects
    //   flags:
    //     filter:
    //       newerThan: "7d"
    //       olderThan: "7d"
    //       createdAfter: "date"
    //       createdBefore: "date"
    //       tags:
    //         - key: "name"
    //           value: "value*"
    //       metadata:
    //         - key: "content-type"
    //           value: "image/*"
    //     notify:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  9. cmd/utils_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. internal/s3select/sql/funceval.go

    const (
    	// Conditionals
    	sqlFnCoalesce FuncName = "COALESCE"
    	sqlFnNullIf   FuncName = "NULLIF"
    
    	// Conversion
    	sqlFnCast FuncName = "CAST"
    
    	// Date and time
    	sqlFnDateAdd     FuncName = "DATE_ADD"
    	sqlFnDateDiff    FuncName = "DATE_DIFF"
    	sqlFnExtract     FuncName = "EXTRACT"
    	sqlFnToString    FuncName = "TO_STRING"
    	sqlFnToTimestamp FuncName = "TO_TIMESTAMP"
    	sqlFnUTCNow      FuncName = "UTCNOW"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
Back to top