- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for TimeFormat (0.22 sec)
-
pilot/pkg/autoregistration/controller.go
if timestamp, ok := wle.Annotations[annotation.IoIstioDisconnectedAt.Name]; ok { disconnTime, _ := time.Parse(timeFormat, timestamp) if conTime.Before(disconnTime) { // we slowly processed a connect and disconnected before getting to this point return false, nil } } lastConTime, _ := time.Parse(timeFormat, wle.Annotations[annotation.IoIstioConnectedAt.Name])
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 26.4K bytes - Viewed (0) -
cmd/bucket-replication_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Sep 16 09:28:06 UTC 2023 - 12.2K bytes - Viewed (0) -
cmd/object-handlers-common.go
if objInfo.ETag != "" { w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""} } if objInfo.VersionID != "" { w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID} } if !objInfo.Expires.IsZero() { w.Header().Set(xhttp.Expires, objInfo.Expires.UTC().Format(http.TimeFormat)) } if objInfo.CacheControl != "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 14.6K bytes - Viewed (0) -
internal/logger/logger.go
DisableErrorLog = false // Output allows configuring custom writer, defaults to os.Stderr Output io.Writer = os.Stderr ) var trimStrings []string // TimeFormat - logging time format. const TimeFormat string = "15:04:05 MST 01/02/2006" var matchingFuncNames = [...]string{ "http.HandlerFunc.ServeHTTP", "cmd.serverMain", // add more here .. }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.4K bytes - Viewed (0) -
src/cmd/internal/archive/archive.go
e.Uid, e.Gid, e.Size, time.Unix(e.Mtime, 0).Format(timeFormat), e.Name) } type GoObj struct { TextHeader []byte Arch string Data } const ( entryHeader = "%s%-12d%-6d%-6d%-8o%-10d`\n" // In entryHeader the first entry, the name, is always printed as 16 bytes right-padded. entryLen = 16 + 12 + 6 + 6 + 8 + 10 + 1 + 1 timeFormat = "Jan _2 15:04 2006" ) var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 15:39:57 UTC 2023 - 12.1K bytes - Viewed (0) -
src/net/http/cookie.go
b.WriteString(d) } else { log.Printf("net/http: invalid Cookie.Domain %q; dropping domain attribute", c.Domain) } } var buf [len(TimeFormat)]byte if validCookieExpires(c.Expires) { b.WriteString("; Expires=") b.Write(c.Expires.UTC().AppendFormat(buf[:0], TimeFormat)) } if c.MaxAge > 0 { b.WriteString("; Max-Age=") b.Write(strconv.AppendInt(buf[:0], int64(c.MaxAge), 10)) } else if c.MaxAge < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
w.Header()[xhttp.AmzExpiration] = []string{ fmt.Sprintf(`expiry-date="%s", rule-id="%s"`, event.Due.Format(http.TimeFormat), event.RuleID), } case TransitionAction, TransitionVersionAction: w.Header()[xhttp.MinIOTransition] = []string{ fmt.Sprintf(`transition-date="%s", rule-id="%s"`, event.Due.Format(http.TimeFormat), event.RuleID), } } } // NoncurrentVersionsExpirationLimit returns the number of noncurrent versions
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 17.9K bytes - Viewed (0) -
cmd/object-api-datatypes.go
Inlined bool DataBlocks int ParityBlocks int } // ExpiresStr returns a stringified version of Expires header in http.TimeFormat func (o ObjectInfo) ExpiresStr() string { var expires string if !o.Expires.IsZero() { expires = o.Expires.UTC().Format(http.TimeFormat) } return expires } // ArchiveInfo returns any saved zip archive meta information. // It will be decrypted if needed.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
src/net/http/fcgi/child.go
// Must not have body. r.header.Del("Content-Type") r.header.Del("Content-Length") r.header.Del("Transfer-Encoding") } if r.header.Get("Date") == "" { r.header.Set("Date", time.Now().UTC().Format(http.TimeFormat)) } } // writeCGIHeader finalizes the header sent to the client and writes it to the output. // p is not written by writeHeader, but is the first chunk of the body
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 10.3K bytes - Viewed (0) -
cmd/api-response.go
} for k, v := range cleanReservedKeys(object.UserDefined) { content.UserMetadata.Set(k, v) } content.UserMetadata.Set("expires", object.Expires.Format(http.TimeFormat)) content.Internal = &ObjectInternalInfo{ K: object.DataBlocks, M: object.ParityBlocks, } } content.Owner = owner content.VersionID = object.VersionID if content.VersionID == "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 33.5K bytes - Viewed (0)