Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 20060102T150405Z (0.18 sec)

  1. internal/amztime/parse.go

    var amzDateFormats = []string{
    	// Do not change this order, x-amz-date format is usually in
    	// iso8601Format rest are meant for relaxed handling of other
    	// odd SDKs that might be out there.
    	"20060102T150405Z",
    	time.RFC1123,
    	time.RFC1123Z,
    	// Add new AMZ date formats here.
    }
    
    // ErrMalformedDate always returned for dates that cannot be parsed.
    var ErrMalformedDate = errors.New("malformed date")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    	"fmt"
    	"io"
    	"mime/multipart"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/dustin/go-humanize"
    )
    
    const (
    	iso8601DateFormat = "20060102T150405Z"
    )
    
    func newPostPolicyBytesV4WithContentRange(credential, bucketName, objectKey string, expiration time.Time) []byte {
    	t := UTCNow()
    	// Add the expiration date.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  3. cmd/signature-v4.go

    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // AWS Signature Version '4' constants.
    const (
    	signV4Algorithm = "AWS4-HMAC-SHA256"
    	iso8601Format   = "20060102T150405Z"
    	yyyymmdd        = "20060102"
    )
    
    type serviceType string
    
    const (
    	serviceS3  serviceType = "s3"
    	serviceSTS serviceType = "sts"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. docs/debugging/inspect/main.go

    	}
    
    	// Backup any already existing output file
    	_, err := os.Stat(outputFileName)
    	if err == nil {
    		err := os.Rename(outputFileName, outputFileName+"."+time.Now().Format("20060102150405"))
    		if err != nil {
    			fatalErr(err)
    		}
    	}
    
    	// Open the input and create the output file
    	input, err := os.Open(inputFileName)
    	fatalErr(err)
    	defer input.Close()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. cmd/callhome.go

    )
    
    func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error {
    	url := globalSubnetConfig.BaseURL + subnetHealthPath
    
    	filename := fmt.Sprintf("health_%s.json.gz", UTCNow().Format("20060102150405"))
    	url += "?filename=" + filename
    
    	_, err := globalSubnetConfig.Upload(url, filename, createHealthJSONGzip(ctx, healthInfo))
    	return err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
Back to top