- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 694 for recorder (0.24 sec)
-
pkg/kubelet/images/image_gc_manager_test.go
fakeRuntime := &containertest.FakeRuntime{} return &realImageGCManager{ runtime: fakeRuntime, policy: policy, imageRecords: make(map[string]*imageRecord), statsProvider: mockStatsProvider, recorder: &record.FakeRecorder{}, tracer: noopoteltrace.NewTracerProvider().Tracer(""), }, fakeRuntime } // Accessors used for thread-safe testing. func (im *realImageGCManager) imageRecordsLen() int {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 15:38:20 UTC 2024 - 29.2K bytes - Viewed (0) -
cmd/http-stats.go
totalS35xxErrors: &HTTPAPIStats{}, } } if w == nil { // when response recorder nil, this is an active request hstats.currentS3Requests.Inc(api) bh.httpStats[bucket] = hstats return } // else { hstats.currentS3Requests.Dec(api) // decrement this once we have the response recorder. hstats.totalS3Requests.Inc(api) code := w.StatusCode switch { case code == 0:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 06:25:13 UTC 2024 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go
// the point where the HTTP server is shut down. preShutdownHook := setupPreShutdownHookHandler(t, s, doer, newClient(true)) signals := &s.lifecycleSignals recorder := &signalRecorder{} wrapLifecycleSignalsWithRecorder(t, signals, recorder.before) // before the AfterShutdownDelayDuration signal is fired, we want // the test to execute a verification step.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 38.3K bytes - Viewed (0) -
pkg/controller/testutil/test_utils.go
Events []*v1.Event clock clock.Clock } // Event emits a fake event to the fake recorder func (f *FakeRecorder) Event(obj runtime.Object, eventtype, reason, message string) { f.generateEvent(obj, metav1.Now(), eventtype, reason, message) } // Eventf emits a fake formatted event to the fake recorder func (f *FakeRecorder) Eventf(obj runtime.Object, eventtype, reason, messageFmt string, args ...interface{}) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 15.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/server_test.go
} dynamicCertificateController := NewDynamicServingCertificateController( tlsConfig, &nullCAContent{name: "client-ca"}, defaultCertProvider, sniCerts, nil, // TODO see how to plumb an event recorder down in here. For now this results in simply klog messages. ) if err := dynamicCertificateController.RunOnce(); err != nil { t.Fatal(err) } tlsConfig.GetConfigForClient = dynamicCertificateController.GetConfigForClient
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 18:29:15 UTC 2021 - 6K bytes - Viewed (0) -
pkg/proxy/iptables/proxier.go
svcPortMap: make(proxy.ServicePortMap), serviceChanges: proxy.NewServiceChangeTracker(newServiceInfo, ipFamily, recorder, nil), endpointsMap: make(proxy.EndpointsMap), endpointsChanges: proxy.NewEndpointsChangeTracker(hostname, newEndpointInfo, ipFamily, recorder, nil), needFullSync: true, syncPeriod: syncPeriod, iptables: ipt,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 65.1K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller.go
// podIndexer has the common PodResourceClaim indexer indexer installed To // limit iteration over pods to those of interest. podIndexer cache.Indexer // recorder is used to record events in the API server recorder record.EventRecorder queue workqueue.TypedRateLimitingInterface[string] // The deletedObjects cache keeps track of Pods for which we know that
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 37.1K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
withMetricsRecorder(recorder), WithWaitingPods(NewWaitingPodsMap()), ) if err != nil { cancel() t.Fatalf("Failed to create framework for testing: %v", err) } tt.action(f) // Stop the goroutine which records metrics and ensure it's stopped. cancel() <-recorder.IsStoppedCh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0) -
pkg/controller/cronjob/injection.go
// TODO: delete by UID? DeleteJob(namespace string, name string) error } // realJobControl is the default implementation of jobControlInterface. type realJobControl struct { KubeClient clientset.Interface Recorder record.EventRecorder } var _ jobControlInterface = &realJobControl{} func (r realJobControl) GetJob(namespace, name string) (*batchv1.Job, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 22 09:37:31 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/kubelet/util/pod_startup_latency_tracker_test.go
if err := testutil.GatherAndCompare(metrics.GetGather(), strings.NewReader(wants), metricsName); err != nil { t.Fatal(err) } // any new pod observations should not impact the metrics, as the pod should be recorder only once tracker.ObservedPodOnWatch(podStarted, frozenTime.Add(time.Second*150)) tracker.ObservedPodOnWatch(podStarted, frozenTime.Add(time.Second*200))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 15 06:09:49 UTC 2023 - 13.7K bytes - Viewed (0)