Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ListMetricDescriptors (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top