const kubeSchedulerPort …
const kubeControllerManagerPort …
const snapshotControllerPort …
const kubeProxyPort …
var MetricsGrabbingDisabledError …
type Collection …
type Grabber …
func NewMetricsGrabber(ctx context.Context, c clientset.Interface, ec clientset.Interface, config *rest.Config, kubelets bool, scheduler bool, controllers bool, apiServer bool, clusterAutoscaler bool, snapshotController bool) (*Grabber, error) { … }
func checkPodDebugHandlers(ctx context.Context, c clientset.Interface, requested bool, component, podName string) bool { … }
func (g *Grabber) HasControlPlanePods() bool { … }
func (g *Grabber) GrabFromKubelet(ctx context.Context, nodeName string) (KubeletMetrics, error) { … }
func (g *Grabber) GrabResourceMetricsFromKubelet(ctx context.Context, nodeName string) (KubeletMetrics, error) { … }
func (g *Grabber) grabFromKubeletInternal(ctx context.Context, nodeName string, kubeletPort int, pathSuffix string) (KubeletMetrics, error) { … }
func (g *Grabber) getMetricsFromNode(ctx context.Context, nodeName string, kubeletPort int, pathSuffix string) (string, error) { … }
func (g *Grabber) GrabFromKubeProxy(ctx context.Context, nodeName string) (KubeProxyMetrics, error) { … }
func (g *Grabber) grabFromKubeProxy(ctx context.Context, nodeName string) (string, error) { … }
func (g *Grabber) GrabFromScheduler(ctx context.Context) (SchedulerMetrics, error) { … }
func (g *Grabber) GrabFromClusterAutoscaler(ctx context.Context) (ClusterAutoscalerMetrics, error) { … }
func (g *Grabber) GrabFromControllerManager(ctx context.Context) (ControllerManagerMetrics, error) { … }
func (g *Grabber) GrabFromSnapshotController(ctx context.Context, podName string, port int) (SnapshotControllerMetrics, error) { … }
func (g *Grabber) GrabFromAPIServer(ctx context.Context) (APIServerMetrics, error) { … }
func (g *Grabber) GrabMetricsSLIsFromAPIServer(ctx context.Context) (APIServerMetrics, error) { … }
func (g *Grabber) getMetricsFromAPIServer(ctx context.Context) (string, error) { … }
func (g *Grabber) getMetricsSLIsFromAPIServer(ctx context.Context) (string, error) { … }
func (g *Grabber) Grab(ctx context.Context) (Collection, error) { … }
func (g *Grabber) getMetricsFromPod(ctx context.Context, client clientset.Interface, podName string, namespace string, port int) (string, error) { … }
func (g *Grabber) getSecureMetricsFromPod(ctx context.Context, podName string, namespace string, port int) (string, error) { … }