- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ListMetricDescriptors (0.39 sec)
-
pkg/kubelet/container/testing/runtime_mock.go
} // ListMetricDescriptors mocks base method. func (m *MockRuntime) ListMetricDescriptors(ctx context.Context) ([]*v10.MetricDescriptor, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListMetricDescriptors", ctx) ret0, _ := ret[0].([]*v10.MetricDescriptor) ret1, _ := ret[1].(error) return ret0, ret1 } // ListMetricDescriptors indicates an expected call of ListMetricDescriptors.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 27K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/instrumented_services.go
recordError(operation, err) return err } func (in instrumentedRuntimeService) ListMetricDescriptors(ctx context.Context) ([]*runtimeapi.MetricDescriptor, error) { const operation = "list_metric_descriptors" defer recordOperation(operation, time.Now()) out, err := in.service.ListMetricDescriptors(ctx) recordError(operation, err) return out, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 10:46:06 UTC 2024 - 13.1K bytes - Viewed (0) -
pkg/kubelet/container/testing/fake_runtime.go
f.CalledFunctions = append(f.CalledFunctions, "CheckpointContainer") return f.Err } func (f *FakeRuntime) ListMetricDescriptors(_ context.Context) ([]*runtimeapi.MetricDescriptor, error) { f.Lock() defer f.Unlock() f.CalledFunctions = append(f.CalledFunctions, "ListMetricDescriptors") return nil, f.Err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/kubelet/metrics/collectors/cri_metrics.go
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" "k8s.io/klog/v2" ) type criMetricsCollector struct { metrics.BaseStableCollector // The descriptors structure will be populated by one call to ListMetricDescriptors from the runtime. // They will be saved in this map, where the key is the Name and the value is the Desc. descriptors map[string]*metrics.Desc
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 23 13:24:29 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/kubelet/container/runtime.go
// Put differently, if ListPodSandboxMetrics references a name that is not described in the initial // ListMetricDescriptors call, then the metric will not be broadcasted. ListMetricDescriptors(ctx context.Context) ([]*runtimeapi.MetricDescriptor, error) // ListPodSandboxMetrics retrieves the metrics for all pod sandboxes. ListPodSandboxMetrics(ctx context.Context) ([]*runtimeapi.PodSandboxMetrics, error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 27.8K bytes - Viewed (0) -
pkg/kubelet/server/server.go
GetPortForward(ctx context.Context, podName, podNamespace string, podUID types.UID, portForwardOpts portforward.V4Options) (*url.URL, error) ListMetricDescriptors(ctx context.Context) ([]*runtimeapi.MetricDescriptor, error) ListPodSandboxMetrics(ctx context.Context) ([]*runtimeapi.PodSandboxMetrics, error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 40.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
return m.runtimeService.CheckpointContainer(ctx, options) } func (m *kubeGenericRuntimeManager) ListMetricDescriptors(ctx context.Context) ([]*runtimeapi.MetricDescriptor, error) { return m.runtimeService.ListMetricDescriptors(ctx) } func (m *kubeGenericRuntimeManager) ListPodSandboxMetrics(ctx context.Context) ([]*runtimeapi.PodSandboxMetrics, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
pkg/kubelet/server/server_test.go
if containerName == "checkpointingFailure" { return fmt.Errorf("Returning error for test") } return nil } func (fk *fakeKubelet) ListMetricDescriptors(ctx context.Context) ([]*runtimeapi.MetricDescriptor, error) { return nil, nil } func (fk *fakeKubelet) ListPodSandboxMetrics(ctx context.Context) ([]*runtimeapi.PodSandboxMetrics, error) { return nil, nil
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
return err } return nil } // ListMetricDescriptors gets the descriptors for the metrics that will be returned in ListPodSandboxMetrics. func (kl *Kubelet) ListMetricDescriptors(ctx context.Context) ([]*runtimeapi.MetricDescriptor, error) { return kl.containerRuntime.ListMetricDescriptors(ctx) } // ListPodSandboxMetrics retrieves the metrics for all pod sandboxes.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0)