- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 4,994 for Hour (0.07 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/object_count_tracker.go
// operation so we can afford to prune the cache at a large interval. // at the same time, we also want to make sure that the scalability // tests hit this code path. pruneInterval = 1 * time.Hour // the storage layer polls for object count at every 1m interval, we will allow // up to 2-3 transient failures to get the latest count for a given resource. staleTolerationThreshold = 3 * time.Minute ) var (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 16 09:12:00 UTC 2022 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go
defer klog.InfoS("Shutting down controller", "name", c.name) // we have a personal informer that is narrowly scoped, start it. go c.configMapInformer.Run(ctx.Done()) // wait for your secondary caches to fill before starting your work if !cache.WaitForNamedCacheSync(c.name, ctx.Done(), c.preRunCaches...) { return } // doesn't matter what workers say, only start one.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go
CurrentTime: time.Now().Add(time.Duration(-100 * time.Hour * 24 * 365)), Roots: getRootCertPool(t), }, Certs: getCerts(t, clientCNCert), User: CommonNameUserConversion, ExpectOK: false, ExpectErr: true, }, "expired cert": { Opts: x509.VerifyOptions{ CurrentTime: time.Now().Add(time.Duration(100 * time.Hour * 24 * 365)), Roots: getRootCertPool(t), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 23:23:03 UTC 2024 - 36.9K bytes - Viewed (0) -
cmd/globals.go
// tmp directory are deemed stale. GlobalStaleUploadsExpiry = time.Hour * 24 // 24 hrs. // GlobalStaleUploadsCleanupInterval - Cleanup interval when the stale uploads cleanup is initiated. GlobalStaleUploadsCleanupInterval = time.Hour * 6 // 6 hrs. // Refresh interval to update in-memory iam config cache. globalRefreshIAMInterval = 10 * time.Minute
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 16.4K bytes - Viewed (0) -
pkg/controlplane/controller/legacytokentracking/controller.go
} func newController(cs kubernetes.Interface, cl clock.Clock, limiter *rate.Limiter) *Controller { informer := corev1informers.NewFilteredConfigMapInformer(cs, metav1.NamespaceSystem, 12*time.Hour, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, func(options *metav1.ListOptions) { options.FieldSelector = fields.OneTermEqualSelector("metadata.name", ConfigMapName).String() }) c := &Controller{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 6K bytes - Viewed (0) -
pkg/registry/certificates/certificates/strategy_test.go
t.Errorf("object diff: %s", cmp.Diff(obj, tc.expectedObj)) } }) } } func TestStatusUpdate(t *testing.T) { now := metav1.Now() later := metav1.NewTime(now.Add(time.Hour)) nowFunc = func() metav1.Time { return now } defer func() { nowFunc = metav1.Now }() tests := []struct { name string newObj *certapi.CertificateSigningRequest
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 7.6K bytes - Viewed (0) -
src/log/log.go
*buf = append(*buf, '/') itoa(buf, int(month), 2) *buf = append(*buf, '/') itoa(buf, day, 2) *buf = append(*buf, ' ') } if flag&(Ltime|Lmicroseconds) != 0 { hour, min, sec := t.Clock() itoa(buf, hour, 2) *buf = append(*buf, ':') itoa(buf, min, 2) *buf = append(*buf, ':') itoa(buf, sec, 2) if flag&Lmicroseconds != 0 { *buf = append(*buf, '.')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 12.9K bytes - Viewed (0) -
src/crypto/x509/verify_test.go
template := &Certificate{ SerialNumber: serialNumber, Subject: pkix.Name{CommonName: cn}, NotBefore: time.Now().Add(-1 * time.Hour), NotAfter: time.Now().Add(24 * time.Hour), KeyUsage: KeyUsageKeyEncipherment | KeyUsageDigitalSignature | KeyUsageCertSign, ExtKeyUsage: []ExtKeyUsage{ExtKeyUsageServerAuth}, BasicConstraintsValid: true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0) -
cmd/kube-apiserver/app/testing/testserver.go
} // make a client certificate for the api server - common name has to match one of our defined names above serial, err := rand.Int(rand.Reader, new(big.Int).SetInt64(math.MaxInt64-1)) if err != nil { return result, err } serial = new(big.Int).Add(serial, big.NewInt(1)) tenThousandHoursLater := time.Now().Add(10_000 * time.Hour) certTmpl := x509.Certificate{ Subject: pkix.Name{ CommonName: "misty",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 17.6K bytes - Viewed (0) -
pkg/volume/util/resize_util_test.go
LastTransitionTime: currentTime, }, }).get() noConditionPVC := makePVC([]v1.PersistentVolumeClaimCondition{}).get() conditionFalseTime := metav1.Now() newTime := metav1.NewTime(time.Now().Add(1 * time.Hour)) testCases := []conditionMergeTestCase{ { description: "when removing all conditions", pvc: pvc.DeepCopy(), newConditions: []v1.PersistentVolumeClaimCondition{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.5K bytes - Viewed (0)