- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 48 for ParseDuration (0.42 sec)
-
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) -
pilot/pkg/config/kube/gateway/conversion.go
} } } if r.Timeouts != nil { if r.Timeouts.Request != nil { request, _ := time.ParseDuration(string(*r.Timeouts.Request)) if request != 0 { vs.Timeout = durationpb.New(request) } } if r.Timeouts.BackendRequest != nil { backendRequest, _ := time.ParseDuration(string(*r.Timeouts.BackendRequest)) if backendRequest != 0 { timeout := durationpb.New(backendRequest)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K 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) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/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 - 39.1K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers.go
for signal, val := range statements { signal := evictionapi.Signal(signal) if !validSignal(signal) { return nil, fmt.Errorf(unsupportedEvictionSignal, signal) } gracePeriod, err := time.ParseDuration(val) if err != nil { return nil, err } if gracePeriod < 0 { return nil, fmt.Errorf("invalid eviction grace period specified: %v, must be a positive value", val) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0) -
src/os/exec/exec_test.go
} in.Close() b := <-outc if !bytes.Equal(b, []byte(msg)) { t.Fatalf("read %q from stdout pipe; want %q", b, msg) } } func cmdHang(args ...string) { sleep, err := time.ParseDuration(args[0]) if err != nil { panic(err) } fs := flag.NewFlagSet("hang", flag.ExitOnError) exitOnInterrupt := fs.Bool("interrupt", false, "if true, commands should exit 0 on os.Interrupt")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0) -
pkg/config/validation/validation_test.go
someNamespace = "bar" ) func TestValidateMaxServerConnectionAge(t *testing.T) { type durationCheck struct { duration time.Duration isValid bool } durMin, _ := time.ParseDuration("-30m") durHr, _ := time.ParseDuration("-1.5h") checks := []durationCheck{ { duration: 30 * time.Minute, isValid: true, }, { duration: durMin, isValid: false, }, { duration: durHr,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0)