- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for ParseDuration (0.16 sec)
-
cmd/bucket-replication-handlers.go
resetID := r.URL.Query().Get("reset-id") if resetID == "" { resetID = mustGetUUID() } var ( days time.Duration err error ) if durationStr != "" { days, err = time.ParseDuration(durationStr) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, InvalidArgument{ Bucket: bucket, Err: fmt.Errorf("invalid query parameter older-than %s for %s : %w", durationStr, bucket, err),
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.2K bytes - Viewed (0) -
operator/pkg/helmreconciler/reconciler.go
opts.ProgressLog = progress.NewLog() } if int64(opts.WaitTimeout) == 0 { if waitForResourcesTimeoutStr, found := os.LookupEnv("WAIT_FOR_RESOURCES_TIMEOUT"); found { if waitForResourcesTimeout, err := time.ParseDuration(waitForResourcesTimeoutStr); err == nil { opts.WaitTimeout = waitForResourcesTimeout } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 22 08:32:23 UTC 2024 - 22K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go
// - byte: base64 encoded binary data // - password: any kind of string // - date: a date string like "2006-01-02" as defined by full-date in RFC3339 // - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format // - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339. Format string `json:"format,omitempty" protobuf:"bytes,6,opt,name=format"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:21 UTC 2023 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/common/values.go
str, ok := unstructured.(string) if !ok { return types.NewErr("invalid data, expected string, got %T", unstructured) } switch schema.Format() { case "duration": d, err := strfmt.ParseDuration(str) if err != nil { return types.NewErr("Invalid duration %s: %v", str, err) } return types.Duration{Duration: d} case "date":
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:30:17 UTC 2023 - 20.5K bytes - Viewed (0) -
src/testing/benchmark.go
if err != nil || n < 0 || (!f.allowZero && n == 0) { return fmt.Errorf("invalid count") } *f = durationOrCountFlag{n: int(n)} return nil } d, err := time.ParseDuration(s) if err != nil || d < 0 || (!f.allowZero && d == 0) { return fmt.Errorf("invalid duration") } *f = durationOrCountFlag{d: d} return nil } // Global lock to ensure only one benchmark runs at a time.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go
// - byte: base64 encoded binary data // - password: any kind of string // - date: a date string like "2006-01-02" as defined by full-date in RFC3339 // - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format // - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339. Format string `json:"format,omitempty" protobuf:"bytes,6,opt,name=format"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:21 UTC 2023 - 24.7K bytes - Viewed (0) -
src/cmd/go/internal/script/cmds.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 28.5K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_inbound.go
} tcpProxy := &tcp.TcpProxy{ StatPrefix: statPrefix, ClusterSpecifier: &tcp.TcpProxy_Cluster{Cluster: fcc.clusterName}, IdleTimeout: parseDuration(lb.node.Metadata.IdleTimeout), } tcpFilter := setAccessLogAndBuildTCPFilter(lb.push, lb.node, tcpProxy, istionetworking.ListenerClassSidecarInbound, fcc.policyService)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 35.1K bytes - Viewed (0) -
src/database/sql/fakedb_test.go
if firstStmt == nil { firstStmt = stmt } if len(parts) >= 3 { switch parts[0] { case "PANIC": stmt.panic = parts[1] parts = parts[2:] case "WAIT": wait, err := time.ParseDuration(parts[1]) if err != nil { return nil, errf("expected section after WAIT to be a duration, got %q %v", parts[1], err) } parts = parts[2:] stmt.wait = wait } } cmd := parts[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto
// - password: any kind of string // - date: a date string like "2006-01-02" as defined by full-date in RFC3339 // - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format // - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339. optional string format = 6; optional string title = 7;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 41.8K bytes - Viewed (0)