Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for 04 (0.52 sec)

  1. cmd/api-response.go

    type CommonPrefix struct {
    	Prefix string
    }
    
    // Bucket container for bucket metadata
    type Bucket struct {
    	Name         string
    	CreationDate string // time string of format "2006-01-02T15:04:05.000Z"
    }
    
    // ObjectVersion container for object version metadata
    type ObjectVersion struct {
    	Object
    	IsLatest  bool
    	VersionID string `xml:"VersionId"`
    
    	isDeleteMarker bool
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  2. internal/s3select/sql/value_test.go

    		return FromBytes([]byte("byte contents"))
    	},
    	func() *Value {
    		return FromFloat(math.Pi)
    	},
    	func() *Value {
    		return FromInt(0x1337)
    	},
    	func() *Value {
    		t, err := time.Parse(time.RFC3339, "2006-01-02T15:04:05Z")
    		if err != nil {
    			panic(err)
    		}
    		return FromTimestamp(t)
    	},
    	func() *Value {
    		return FromString("string contents")
    	},
    }
    
    // altValueBuilders contains one constructor for each value type.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock_test.go

    			expectedErr: ErrUnknownWORMModeDirective,
    			expectErr:   true,
    		},
    		{
    			value:       `<?xml version="1.0" encoding="UTF-8"?><Retention xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Mode>COMPLIANCE</Mode><RetainUntilDate>2017-01-02T15:04:05Z</RetainUntilDate></Retention>`,
    			expectedErr: ErrPastObjectLockRetainDate,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  4. internal/amztime/iso8601_time.go

    package amztime
    
    import (
    	"strings"
    	"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.
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 16 23:38:33 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. internal/s3select/select_test.go

        <RequestProgress>
            <Enabled>FALSE</Enabled>
        </RequestProgress>
    </SelectObjectContentRequest>
    `), wantResult: `{"shipdate":"1996-03-13T"}
    {"shipdate":"1996-04-12T"}
    {"shipdate":"1996-01-29T"}
    {"shipdate":"1996-04-21T"}
    {"shipdate":"1996-03-30T"}`,
    		},
    		{
    			requestXML: []byte(`
    <?xml version="1.0" encoding="UTF-8"?>
    <SelectObjectContentRequest>
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  6. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. cmd/build-constants.go

    	ShortCommitID = "DEVELOPMENT.GOGET"
    
    	// CopyrightYear - dynamic value of the copyright end year
    	CopyrightYear = "0000"
    
    	// MinioReleaseTagTimeLayout - release tag time layout.
    	MinioReleaseTagTimeLayout = "2006-01-02T15-04-05Z"
    
    	// MinioOSARCH - OS and ARCH.
    	minioOSARCH = runtime.GOOS + "-" + runtime.GOARCH
    
    	// MinioReleaseBaseURL - release url without os and arch.
    	MinioReleaseBaseURL = "https://dl.min.io/server/minio/release/"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 12 00:54:37 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. utils/tests/utils.go

    		})
    	}
    }
    
    func AssertEqual(t *testing.T, got, expect interface{}) {
    	if !reflect.DeepEqual(got, expect) {
    		isEqual := func() {
    			if curTime, ok := got.(time.Time); ok {
    				format := "2006-01-02T15:04:05Z07:00"
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Mar 10 09:21:56 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/expiration_test.go

                                        </Expiration>`,
    			expectedErr: errLifecycleInvalidDate,
    		},
    		{ // Expiration with both number of days nor a date
    			inputXML: `<Expiration>
    		                    <Date>2019-04-20T00:01:00Z</Date>
    		                    </Expiration>`,
    			expectedErr: errLifecycleDateNotMidnight,
    		},
    	}
    
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. buildscripts/gen-ldflags.go

    	if hotfix := os.Getenv("MINIO_HOTFIX"); hotfix != "" {
    		relSuffix = hotfix
    	}
    
    	relTag := strings.Replace(version, " ", "-", -1)
    	relTag = strings.Replace(relTag, ":", "-", -1)
    	t, err := time.Parse("2006-01-02T15-04-05Z", relTag)
    	if err != nil {
    		panic(err)
    	}
    	relTag = strings.Replace(relTag, ",", "", -1)
    	relTag = relPrefix + "." + relTag
    	if relSuffix != "" {
    		relTag += "." + relSuffix
    	}
    
    	return relTag, t
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jun 16 23:10:48 GMT 2022
    - 3.3K bytes
    - Viewed (0)
Back to top