- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 96 for updateStats (0.16 sec)
-
src/internal/fuzz/fuzz.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 34.1K bytes - Viewed (0) -
pkg/kubelet/server/server_test.go
} func (*fakeKubelet) RlimitStats() (*statsapi.RlimitStats, error) { return nil, nil } func (*fakeKubelet) GetCgroupStats(cgroupName string, updateStats bool) (*statsapi.ContainerStats, *statsapi.NetworkStats, error) { return nil, nil, nil } func (*fakeKubelet) GetCgroupCPUAndMemoryStats(cgroupName string, updateStats bool) (*statsapi.ContainerStats, error) { return nil, nil } type fakeAuth struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.5K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
func (kl *Kubelet) GetCgroupStats(cgroupName string, updateStats bool) (*statsapi.ContainerStats, *statsapi.NetworkStats, error) { return kl.StatsProvider.GetCgroupStats(cgroupName, updateStats) } // GetCgroupCPUAndMemoryStats is delegated to StatsProvider, which implements stats.Provider interface func (kl *Kubelet) GetCgroupCPUAndMemoryStats(cgroupName string, updateStats bool) (*statsapi.ContainerStats, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
} } }) } } type fakeSummaryProvider struct { result *statsapi.Summary } func (f *fakeSummaryProvider) Get(ctx context.Context, updateStats bool) (*statsapi.Summary, error) { return f.result, nil } func (f *fakeSummaryProvider) GetCPUAndMemoryStats(ctx context.Context) (*statsapi.Summary, error) { return f.result, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0) -
pkg/controller/cronjob/cronjob_controllerv2.go
deleteFromActiveList(cronJob, j.UID) updateStatus = true case err != nil: return nil, updateStatus, err } // the job is missing in the lister but found in api-server } if cronJob.DeletionTimestamp != nil { // The CronJob is being deleted. // Don't do anything other than updating status. return nil, updateStatus, nil } logger := klog.FromContext(ctx)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/types.gen.go
default: return nil, fmt.Errorf("unsupported type: %v", cfg.GroupVersionKind) } } func updateStatus(c kube.Client, cfg config.Config, objMeta metav1.ObjectMeta) (metav1.Object, error) { switch cfg.GroupVersionKind { case gvk.AuthorizationPolicy: return c.Istio().SecurityV1beta1().AuthorizationPolicies(cfg.Namespace).UpdateStatus(context.TODO(), &apiistioioapisecurityv1beta1.AuthorizationPolicy{ ObjectMeta: objMeta,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 62.2K bytes - Viewed (0) -
tensorflow/cc/training/queue_runner.cc
if (coord_ != nullptr) { coord_->WaitForStop(); } if (!cancel_op_name_.empty()) { UpdateStatus(RealRun(sess, cancel_op_name_, false)); } stopped_ = true; } Status QueueRunner::Join() { thread_pool_.reset(); mutex_lock l(mu_); return status_; } void QueueRunner::UpdateStatus(const Status& status) { { mutex_lock l(mu_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:30:37 UTC 2024 - 7K bytes - Viewed (0) -
pkg/kube/kclient/clienttest/test_helpers.go
res, err := t.c.Update(object) if err != nil { t.t.Fatalf("update %v/%v: %v", object.GetNamespace(), object.GetName(), err) } return res } func (t TestWriter[T]) UpdateStatus(object T) T { t.t.Helper() res, err := t.c.UpdateStatus(object) if err != nil { t.t.Fatalf("update status %v/%v: %v", object.GetNamespace(), object.GetName(), err) } return res } func (t TestWriter[T]) CreateOrUpdate(object T) T {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 3.9K bytes - Viewed (0) -
pkg/controller/storageversionmigrator/storageversionmigrator.go
} } else { // we can't migrate a resource that doesn't exist in the GC _, err = svmc.kubeClient.StoragemigrationV1alpha1(). StorageVersionMigrations(). UpdateStatus( ctx, setStatusConditions(toBeProcessedSVM, svmv1alpha1.MigrationFailed, migrationFailedStatusReason), metav1.UpdateOptions{}, ) if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storageversion/manager.go
managedStatus map[schema.GroupResource]*updateStatus } type updateStatus struct { done bool lastErr error } // NewDefaultManager creates a new defaultManager. func NewDefaultManager() Manager { s := &defaultManager{} s.completed.Store(false) s.managedResourceInfos = make(map[*ResourceInfo]struct{}) s.managedStatus = make(map[schema.GroupResource]*updateStatus) return s }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 17:47:19 UTC 2023 - 10.5K bytes - Viewed (0)