Versions in this module Expand all Collapse all v1 v1.0.3 Feb 11, 2024 v1.0.2 Feb 11, 2024 Changes in this version + type Client struct + func NewClient(cfg *rest.Config) (*Client, error) + func (c *Client) GetNode(ctx context.Context, nodename string) (*corev1.Node, error) + func (c *Client) ListPodsOnNode(ctx context.Context, nodename string) ([]corev1.Pod, error) + func (c *Client) Metrics(ctx context.Context, nodename string) ([]byte, error) + func (c *Client) MetricsResource(ctx context.Context, nodename string) ([]byte, error) + func (c *Client) StatsSummary(ctx context.Context, nodename string) (*kubelet_stats.Summary, error) + func (c *Client) StatsSummaryRaw(ctx context.Context, nodename string) ([]byte, error) + type PodsMap map[types.NamespacedName]corev1.Pod + func ToPodsMap(pods []corev1.Pod) PodsMap + func (p PodsMap) GetPod(namespace, name string) corev1.Pod + func (p PodsMap) PodAccountName(namespace, name string) string + func (p PodsMap) PodClusterName(namespace, name string) string + func (p PodsMap) PodTrackingId(namespace, name string) string