- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,000 for Hour (0.07 sec)
-
pkg/controller/cronjob/utils_test.go
} } { // Case 6: now is way way ahead of last start time, and there is no deadline. cj.ObjectMeta.CreationTimestamp = metav1.Time{Time: T1.Add(-2 * time.Hour)} cj.Status.LastScheduleTime = &metav1.Time{Time: T1.Add(-1 * time.Hour)} now := T2.Add(10 * 24 * time.Hour) schedule, _ := nextScheduleTime(logger, &cj, now, ParseSchedule(cj.Spec.Schedule), recorder) if schedule == nil { t.Errorf("expected more than 0 missed times")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 22.8K bytes - Viewed (0) -
pkg/registry/certificates/certificates/storage/metrics_test.go
Status: certificates.CertificateSigningRequestStatus{ Certificate: createCert(t, time.Hour, caPrivateKey, caCert), }, }, old: &certificates.CertificateSigningRequest{ Spec: certificates.CertificateSigningRequestSpec{ SignerName: "kubernetes.io/educate-dolphins", ExpirationSeconds: csr.DurationToExpirationSeconds(time.Hour), }, }, options: &metav1.UpdateOptions{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 13.7K bytes - Viewed (0) -
src/net/conf_test.go
t.Fatal("failed to change resolv config") } setSystemNSS(nssStr(t, "hosts: files myhostname dns"), time.Hour) cnf := &conf{} order, _ := cnf.addrLookupOrder(nil, "192.0.2.1") if order != hostLookupCgo { t.Errorf("addrLookupOrder returned: %v, want cgo", order) } setSystemNSS(nssStr(t, "hosts: files mdns4 dns"), time.Hour)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:46:36 UTC 2024 - 12.3K bytes - Viewed (0) -
src/time/example_test.go
afterTenHours := start.Add(time.Hour * 10) afterTenDays := start.Add(time.Hour * 24 * 10) fmt.Printf("start = %v\n", start) fmt.Printf("start.Add(time.Second * 10) = %v\n", afterTenSeconds) fmt.Printf("start.Add(time.Minute * 10) = %v\n", afterTenMinutes) fmt.Printf("start.Add(time.Hour * 10) = %v\n", afterTenHours) fmt.Printf("start.Add(time.Hour * 24 * 10) = %v\n", afterTenDays) // Output:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 01:05:00 UTC 2024 - 22.4K bytes - Viewed (0) -
src/time/tick_test.go
} }) } run(t, "After", func() { After(Hour) }) run(t, "Tick", func() { Tick(Hour) }) run(t, "NewTimer", func() { NewTimer(Hour) }) run(t, "NewTicker", func() { NewTicker(Hour) }) run(t, "NewTimerStop", func() { NewTimer(Hour).Stop() }) run(t, "NewTickerStop", func() { NewTicker(Hour).Stop() }) } func TestChan(t *testing.T) { for _, name := range []string{"0", "1", "2"} {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
src/time/format_test.go
// issue 67470 {"-07", "-25", "time zone offset hour out of range"}, {"-07:00", "+25:00", "time zone offset hour out of range"}, {"-07:00", "-23:61", "time zone offset minute out of range"}, {"-07:00:00", "+23:59:61", "time zone offset second out of range"}, {"Z07", "-25", "time zone offset hour out of range"}, {"Z07:00", "+25:00", "time zone offset hour out of range"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
security/pkg/nodeagent/cache/secretcache_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 23.9K bytes - Viewed (0) -
cmd/object-lambda-handlers.go
host = globalMinioEndpointURL.Host secure = globalMinioEndpointURL.Scheme == "https" } duration := time.Until(cred.Expiration) if duration > time.Hour || duration < time.Hour { // Always limit to 1 hour. duration = time.Hour } clnt, err := miniogo.New(host, &miniogo.Options{ Creds: credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken), Secure: secure,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 10.2K bytes - Viewed (0) -
security/pkg/pki/util/keycertbundle_test.go
caCertFile: rootCertFile, caKeyFile: rootKeyFile, certChainFile: nil, rootCertFile: rootCertFile, certOptions: &CertOptions{ Host: "test_ca.com", TTL: time.Hour, Org: "MyOrg", IsCA: true, RSAKeySize: 2048, }, expectedErr: "failed to extract id the SAN extension does not exist", }, "RSA Success": { caCertFile: certChainFile1,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Jan 21 06:07:50 UTC 2024 - 15.8K bytes - Viewed (0) -
src/time/sleep_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0)