Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Tate (0.56 sec)

  1. cmd/signature-v4.go

    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Extract date, if not present throw error.
    	var date string
    	if date = req.Header.Get(xhttp.AmzDate); date == "" {
    		if date = r.Header.Get(xhttp.Date); date == "" {
    			return ErrMissingDateHeader
    		}
    	}
    
    	// Parse date header.
    	t, e := time.Parse(iso8601Format, date)
    	if e != nil {
    		return ErrMalformedDate
    	}
    
    	// Query string.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock.go

    	// 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")
    	// ErrUnknownWORMModeDirective - indicates that the retention mode is invalid
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. 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)
  5. cmd/xl-storage-format-v1.go

    	ActualSize int64             `json:"actualSize"` // Original size of the part without compression or encryption bytes.
    	ModTime    time.Time         `json:"modTime"`    // Date and time at which the part was uploaded.
    	Index      []byte            `json:"index,omitempty" msg:"index,omitempty"`
    	Checksums  map[string]string `json:"crc,omitempty" msg:"crc,omitempty"` // Content Checksums
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  6. internal/kms/kes.go

    				c.client = client
    				c.lock.Unlock()
    
    				prevCertificate = certificate
    			}
    		}
    	}()
    
    	go c.refreshKMSMasterKeyCache(logger)
    	return c, nil
    }
    
    // Request KES keep an up-to-date copy of the KMS master key to allow minio to start up even if KMS is down. The
    // cached key may still be evicted if the period of this function is longer than that of KES .cache.expiry.unused
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. cmd/object-handlers-common.go

    	// Object content should be written to http.ResponseWriter
    	return false
    }
    
    // returns true if object was modified after givenTime.
    func ifModifiedSince(objTime time.Time, givenTime time.Time) bool {
    	// The Date-Modified header truncates sub-second precision, so
    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return objTime.After(givenTime.Add(1 * time.Second))
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. cmd/post-policy_test.go

    	// Add the algorithm condition, only accept AWS SignV4 Sha256.
    	algorithmConditionStr := `["eq", "$x-amz-algorithm", "AWS4-HMAC-SHA256"]`
    	// Add the date condition, only accept the current date.
    	dateConditionStr := fmt.Sprintf(`["eq", "$x-amz-date", "%s"]`, t.Format(iso8601DateFormat))
    	// Add the credential string, only accept the credential passed.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. cmd/bucket-object-lock.go

    // Objects under site wide WORM can never be overwritten.
    // For objects in "Governance" mode, overwrite is allowed if a) object retention date is past OR
    // governance bypass headers are set and user has governance bypass permissions.
    // Objects in "Compliance" mode can be overwritten only if retention date is past.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. istioctl/pkg/metrics/metrics.go

    	wname := parts[0]
    	wns := ""
    	if len(parts) > 1 {
    		wns = parts[1]
    	}
    
    	rpsQuery := fmt.Sprintf(`sum(rate(%s{%s=~"%s.*", %s=~"%s.*",reporter="destination"}[%s]))`,
    		reqTot, destWorkloadLabel, wname, destWorkloadNamespaceLabel, wns, duration)
    	errRPSQuery := fmt.Sprintf(`sum(rate(%s{%s=~"%s.*", %s=~"%s.*",reporter="destination",response_code=~"[45][0-9]{2}"}[%s]))`,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top